|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.modules.parser.base.ParserEntityResolver
Resolves the JFreeReport DTD specification and routes the parser to a local copy.
| Method Summary | |
static ParserEntityResolver |
getDefaultResolver()
Returns a default resolver, which is initialized to redirect the parser to a local copy of the JFreeReport DTDs. |
java.net.URL |
getDTDLocation(java.lang.String publicID)
Sets the location of the DTD. |
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Allow the application to resolve external entities. |
boolean |
setDTDLocation(java.lang.String publicID,
java.net.URL location)
Defines a DTD used to validate the report definition. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean setDTDLocation(java.lang.String publicID,
java.net.URL location)
publicID - the public ID.location - the URL.
public java.net.URL getDTDLocation(java.lang.String publicID)
publicID - the id.
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId,
java.lang.String systemId)
throws org.xml.sax.SAXException,
java.io.IOException
Resolves the DTD definition to point to a local copy, if the specified public ID is known to this resolver.
resolveEntity in interface org.xml.sax.EntityResolverpublicId - the public ID.systemId - the system ID.
org.xml.sax.SAXException - if there is a parsing problem.
java.io.IOException - if there is an I/O problem.public static ParserEntityResolver getDefaultResolver()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||