| java.lang.Object org.xml.sax.helpers.DefaultHandler org.jfree.xml.FrontendDefaultHandler
All known Subclasses: org.jfree.xml.Parser, org.jfree.xml.parser.RootXmlReadHandler,
FrontendDefaultHandler | abstract public class FrontendDefaultHandler extends DefaultHandler implements Configuration(Code) | | The frontenddefault handler connects the SAX-backend with the handler implementations.
It must be the base class for all parser implementations used by the ParserFrontEnd.
author: Thomas Morgner |
CONTENTBASE_KEY | final public static String CONTENTBASE_KEY(Code) | | A key for the content base.
|
FrontendDefaultHandler | protected FrontendDefaultHandler()(Code) | | Default constructor.
|
findPropertyKeys | public Iterator findPropertyKeys(String prefix)(Code) | | Returns all keys with the given prefix.
Parameters: prefix - the prefix the iterator containing all keys with that prefix |
getCommentHandler | public CommentHandler getCommentHandler()(Code) | | Returns the comment handler that is used to collect comments.
the comment handler. |
getConfigProperty | public String getConfigProperty(String key)(Code) | | Returns the configuration property with the specified key.
Parameters: key - the property key. the property value. |
getConfigProperty | public String getConfigProperty(String key, String defaultValue)(Code) | | Returns the configuration property with the specified key (or the specified default value
if there is no such property).
If the property is not defined in this configuration, the code will lookup the property in
the parent configuration.
Parameters: key - the property key. Parameters: defaultValue - the default value. the property value. |
getContentBase | public URL getContentBase()(Code) | | Gets the ContentBase used to resolve relative URLs.
the current contentbase, or null if no contentBase is set. |
getLocator | public Locator getLocator()(Code) | | Returns the current locator.
the locator. |
getResult | abstract public Object getResult() throws SAXException(Code) | | Returns the parse result. This method is called at the end of the
parsing process and expects the generated object.
the object. throws: SAXException - if something went wrong. |
setConfigProperty | public void setConfigProperty(String key, String value)(Code) | | Sets a parser configuration value.
Parameters: key - the key. Parameters: value - the value. |
setDocumentLocator | public void setDocumentLocator(Locator locator)(Code) | | Receive an object for locating the origin of SAX document events.
The locator allows the application to determine the end position of
any document-related event, even if the parser is not reporting an
error. Typically, the application will use this information for
reporting its own errors (such as character content that does not
match an application's business rules). The information returned by
the locator is probably not sufficient for use with a search engine.
Parameters: locator - the locator. |
Methods inherited from org.xml.sax.helpers.DefaultHandler | public void characters(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void endDocument() throws SAXException(Code)(Java Doc) public void endElement(String uri, String localName, String qName) throws SAXException(Code)(Java Doc) public void endPrefixMapping(String prefix) throws SAXException(Code)(Java Doc) public void error(SAXParseException e) throws SAXException(Code)(Java Doc) public void fatalError(SAXParseException e) throws SAXException(Code)(Java Doc) public void ignorableWhitespace(char ch, int start, int length) throws SAXException(Code)(Java Doc) public void notationDecl(String name, String publicId, String systemId) throws SAXException(Code)(Java Doc) public void processingInstruction(String target, String data) throws SAXException(Code)(Java Doc) public InputSource resolveEntity(String publicId, String systemId) throws IOException, SAXException(Code)(Java Doc) public void setDocumentLocator(Locator locator)(Code)(Java Doc) public void skippedEntity(String name) throws SAXException(Code)(Java Doc) public void startDocument() throws SAXException(Code)(Java Doc) public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException(Code)(Java Doc) public void startPrefixMapping(String prefix, String uri) throws SAXException(Code)(Java Doc) public void unparsedEntityDecl(String name, String publicId, String systemId, String notationName) throws SAXException(Code)(Java Doc) public void warning(SAXParseException e) throws SAXException(Code)(Java Doc)
|
|
|