org.riotfamily.common.xml
Class ValidatingDocumentReader

java.lang.Object
  extended by org.riotfamily.common.xml.DocumentReader
      extended by org.riotfamily.common.xml.ValidatingDocumentReader

public class ValidatingDocumentReader
extends DocumentReader

Convinience class to read and validate XML files with a DTD.


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

Constructor Detail

ValidatingDocumentReader

public ValidatingDocumentReader(Resource resource)
Method Detail

getValidationMode

protected int getValidationMode()
Overrides:
getValidationMode in class DocumentReader

getEntityResolver

protected EntityResolver getEntityResolver()
Overrides:
getEntityResolver in class DocumentReader