|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.libraries.xmlns.parser.ParserEntityResolver
public final class 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.lang.String |
getDeprecatedDTDMessage(java.lang.String publicID)
Returns deprecation message for the given public ID. |
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. |
void |
setDeprecatedDTDMessage(java.lang.String publicID,
java.lang.String message)
Defines that the given public ID should be deprecated and provides a log-message along with the deprecation. |
boolean |
setDTDLocation(java.lang.String publicID,
java.lang.String systemId,
java.net.URL location)
Defines a DTD used to validate the report definition. |
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 |
---|
equals, 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 boolean setDTDLocation(java.lang.String publicID, java.lang.String systemId, java.net.URL location)
systemId
- the system ID for the DTD.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)
resolveEntity
in interface org.xml.sax.EntityResolver
publicId
- the public ID.systemId
- the system ID.
public static ParserEntityResolver getDefaultResolver()
public void setDeprecatedDTDMessage(java.lang.String publicID, java.lang.String message)
publicID
- the public id that should be considered deprecated.message
- the message to present to the user to warn them about their use of deprecated DTDs.public java.lang.String getDeprecatedDTDMessage(java.lang.String publicID)
publicID
- the public id that should be considered deprecated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |