|
|||||||||
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.FrontendDefaultHandler
public abstract class FrontendDefaultHandler
Field Summary | |
---|---|
static java.lang.String |
CONTENTBASE_KEY
A key for the content base. |
Constructor Summary | |
---|---|
protected |
FrontendDefaultHandler()
|
Method Summary | |
---|---|
java.util.Iterator |
findPropertyKeys(java.lang.String prefix)
Returns all keys with the given prefix. |
CommentHandler |
getCommentHandler()
Returns the comment handler that is used to collect comments. |
java.lang.String |
getConfigProperty(java.lang.String key)
Returns the configuration property with the specified key. |
java.lang.String |
getConfigProperty(java.lang.String key,
java.lang.String defaultValue)
Returns the configuration property with the specified key (or the specified default value if there is no such property). |
java.net.URL |
getContentBase()
Gets the ContentBase used to resolve relative URLs. |
org.xml.sax.Locator |
getLocator()
Returns the current locator. |
abstract java.lang.Object |
getResult()
|
abstract FrontendDefaultHandler |
newInstance()
Returns a new instance of the parser. |
void |
setConfigProperty(java.lang.String key,
java.lang.String value)
Sets a parser configuration value. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Receive an object for locating the origin of SAX document events. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startElement, 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 CONTENTBASE_KEY
Constructor Detail |
---|
protected FrontendDefaultHandler()
Method Detail |
---|
public CommentHandler getCommentHandler()
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler
locator
- the locator.public org.xml.sax.Locator getLocator()
public java.lang.String getConfigProperty(java.lang.String key)
getConfigProperty
in interface Configuration
key
- the property key.
public java.lang.String getConfigProperty(java.lang.String key, java.lang.String defaultValue)
If the property is not defined in this configuration, the code will lookup the property in the parent configuration.
getConfigProperty
in interface Configuration
key
- the property key.defaultValue
- the default value.
public void setConfigProperty(java.lang.String key, java.lang.String value)
key
- the key.value
- the value.public abstract FrontendDefaultHandler newInstance()
public java.util.Iterator findPropertyKeys(java.lang.String prefix)
findPropertyKeys
in interface Configuration
prefix
- the prefix
public abstract java.lang.Object getResult() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public java.net.URL getContentBase()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |