org.riotfamily.common.xml
Class DocumentReader

java.lang.Object
  extended by org.riotfamily.common.xml.DocumentReader
Direct Known Subclasses:
ValidatingDocumentReader

public class DocumentReader
extends Object

Convinience class to read a XML document from a resource.


Field Summary
protected static int VALIDATION_MODE_NONE
           
 
Constructor Summary
DocumentReader(Resource resource)
           
 
Method Summary
protected  EntityResolver getEntityResolver()
           
protected  int getValidationMode()
           
 Document readDocument()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALIDATION_MODE_NONE

protected static final int VALIDATION_MODE_NONE
See Also:
Constant Field Values
Constructor Detail

DocumentReader

public DocumentReader(Resource resource)
Method Detail

getValidationMode

protected int getValidationMode()

getEntityResolver

protected EntityResolver getEntityResolver()

readDocument

public Document readDocument()