|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.jfree.xml.Parser
org.jfree.report.modules.parser.base.IncludeParser
The include parser is used to support include statements in the report definition. It contains a special mark to indicate that this is a included report definition and uses the configuration settings of an parent parser.
Field Summary | |
static java.lang.String |
INCLUDE_PARSING_KEY
The key that indicates that this is a included parser. |
Fields inherited from class org.jfree.xml.Parser |
CONTENTBASE_KEY |
Constructor Summary | |
IncludeParser(org.jfree.xml.Parser backend)
Creates a new include parser with the given parser as backend. |
Method Summary | |
java.lang.String |
getConfigProperty(java.lang.String key)
Returns the configuration property stored with the given key. |
java.lang.String |
getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
Returns the configuration property stored with the given key using the given default values as final fallback. |
java.lang.Object |
getHelperObject(java.lang.String key)
Returns a helper object which is stored on the parser. |
org.jfree.xml.Parser |
getInstance()
Returns a new parser instance. |
java.lang.Object |
getResult()
Returns the parser result. |
Methods inherited from class org.jfree.xml.Parser |
characters, endDocument, endElement, getCommentHandler, getComments, getInitialFactory, getLocator, peekFactory, popFactory, pushFactory, setConfigProperty, setDocumentLocator, setHelperObject, setInitialFactory, startDocument, startElement |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String INCLUDE_PARSING_KEY
Constructor Detail |
public IncludeParser(org.jfree.xml.Parser backend)
backend
- the backend parser that provides the configuration.Method Detail |
public org.jfree.xml.Parser getInstance()
Parser.getInstance()
public java.lang.Object getResult()
Parser.getResult()
public java.lang.String getConfigProperty(java.lang.String key)
key
- the property name.
Configuration.getConfigProperty(java.lang.String)
public java.lang.String getConfigProperty(java.lang.String key, java.lang.String defaultValue)
key
- the property name.defaultValue
- the default value that should be returned in case
that neither this parser or the backend contains a value for that key.
Configuration.getConfigProperty(java.lang.String)
public java.lang.Object getHelperObject(java.lang.String key)
key
- the helper object key
Parser.getHelperObject(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |