@Nonnull
  public ESuccess writeToWriter (@Nonnull final IPSElement aPSElement, @Nonnull @WillClose final Writer aWriter)
  {
    ValueEnforcer.notNull (aPSElement, "PSElement");
    final IMicroElement eXML = aPSElement.getAsMicroElement ();
    return MicroWriter.writeToWriter (getAsDocument (eXML), aWriter, m_aWriterSettings.getXMLWriterSettings ());
  }
@Nonnull
  public ESuccess writeToWriter (@Nonnull final IPSElement aPSElement, @Nonnull @WillClose final Writer aWriter)
  {
    ValueEnforcer.notNull (aPSElement, "PSElement");
    final IMicroElement eXML = aPSElement.getAsMicroElement ();
    return MicroWriter.writeToWriter (getAsDocument (eXML), aWriter, m_aWriterSettings.getXMLWriterSettings ());
  }
@ Nonnull public ESuccess writeToWriter ( @ Nonnull final IPSElement aPSElement , @ Nonnull @ WillClose final Writer aWriter ) { ValueEnforcer . notNull ( aPSElement , "PSElement" ) ; final IMicroElement eXML = aPSElement . getAsMicroElement ( ) ; return MicroWriter . writeToWriter ( getAsDocument ( eXML ) , aWriter , m_aWriterSettings . getXMLWriterSettings ( ) ) ; }
Write the passed Schematron element to the passed writer.

@param aPSElement
The schematron element to write. May not be <code>null</code>.
@param aWriter
The writer to write things to. May not be <code>null</code>. The
writer is automatically closed.
@return {@link ESuccess}.
Write the passed Schematron element to the passed writer .