|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.peppol.validation.commons.schematron.svrl.SVRLWriter
@Immutable public final class SVRLWriter
This is the XML writer for Schematron SVRL documents. It reads
SchematronOutputType
elements and converts them to W3C nodes. The
writing itself is done with JAXB.
Method Summary | |
---|---|
static Document |
createXML(SchematronOutputType aSchematronOutput)
Convert the passed schematron output element into an W3C Document node. |
static String |
createXMLString(SchematronOutputType aSchematronOutput)
Utility method to directly convert the passed SVRL domain object to an XML string. |
static com.phloc.commons.state.ESuccess |
writeSVRL(SchematronOutputType aSchematronOutput,
Result aResult)
Convert the passed schematron output element into an W3C Document node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Nonnull public static com.phloc.commons.state.ESuccess writeSVRL(@Nonnull SchematronOutputType aSchematronOutput, @Nonnull Result aResult)
aSchematronOutput
- The schematron output to be converted. May not be null
.
ESuccess
@Nullable public static Document createXML(@Nonnull SchematronOutputType aSchematronOutput)
aSchematronOutput
- The schematron output to be converted. May not be null
.
null
if conversion failed.@Nullable public static String createXMLString(@Nonnull SchematronOutputType aSchematronOutput)
aSchematronOutput
- The SVRL domain object to be converted. May not be null.
null
if the passed domain object could not be
converted because of validation errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |