eu.peppol.validation.commons.schematron.svrl
Class SVRLReader
java.lang.Object
eu.peppol.validation.commons.schematron.svrl.SVRLReader
@Immutable
public final class SVRLReader
- extends Object
This is the XML reader for Schematron SVRL documents. It reads XML DOM
documents and returns SchematronOutputType
elements. The reading
itself is done with JAXB.
- Author:
- PEPPOL.AT, BRZ, Philip Helger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readXML
@Nullable
public static SchematronOutputType readXML(@Nonnull
com.phloc.commons.io.IReadableResource aRes)
readXML
@Nullable
public static SchematronOutputType readXML(@Nonnull
Node aNode)
- Convert the passed W3C node into a SVRL domain object
- Parameters:
aNode
- The node to be converted. May not be null
.
- Returns:
null
if the passed object could not be interpreted as
SVRL.
readXML
@Nullable
public static SchematronOutputType readXML(@Nonnull
Source aSource)
Copyright © 2011 PEPPOL project. All Rights Reserved.