|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tuckey.web.filters.validation.ValidationEntityResolver
public class ValidationEntityResolver
Constructor Summary | |
---|---|
ValidationEntityResolver()
Will setup the entity resolver, dtd's are stores in clas structure to save fetching over the web. |
Method Summary | |
---|---|
ValidationDoctype |
getDoctype()
the doctype. |
static void |
register(java.lang.String publicId,
java.lang.String entityURL)
Cache the entity lookup. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Resolve the requested external entity. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationEntityResolver() throws java.io.FileNotFoundException
java.io.FileNotFoundException
Method Detail |
---|
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- The public identifier of the entity being referencedsystemId
- The system identifier of the entity being referenced
org.xml.sax.SAXException
- if a parsing exception occurspublic static void register(java.lang.String publicId, java.lang.String entityURL) throws java.net.MalformedURLException
java.net.MalformedURLException
public ValidationDoctype getDoctype()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |