org.riotfamily.common.xml
Class DocumentReader
java.lang.Object
org.riotfamily.common.xml.DocumentReader
- Direct Known Subclasses:
- ValidatingDocumentReader
public class DocumentReader
- extends Object
Convinience class to read a XML document from a
resource
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALIDATION_MODE_NONE
protected static final int VALIDATION_MODE_NONE
- See Also:
- Constant Field Values
DocumentReader
public DocumentReader(Resource resource)
getValidationMode
protected int getValidationMode()
getEntityResolver
protected EntityResolver getEntityResolver()
readDocument
public Document readDocument()