org.apache.myfaces.tobago.internal.config
Class TobagoConfigParser
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.myfaces.tobago.internal.config.TobagoConfigEntityResolver
org.apache.myfaces.tobago.internal.config.TobagoConfigParser
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class TobagoConfigParser
- extends TobagoConfigEntityResolver
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TobagoConfigParser
public TobagoConfigParser()
parse
public TobagoConfigFragment parse(URL url)
throws IOException,
SAXException,
ParserConfigurationException,
URISyntaxException
- Throws:
IOException
SAXException
ParserConfigurationException
URISyntaxException
ignorableWhitespace
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
ignorableWhitespace
in interface ContentHandler
- Overrides:
ignorableWhitespace
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
startDocument
public void startDocument()
throws SAXException
- Specified by:
startDocument
in interface ContentHandler
- Overrides:
startDocument
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
endDocument
public void endDocument()
throws SAXException
- Specified by:
endDocument
in interface ContentHandler
- Overrides:
endDocument
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement
in interface ContentHandler
- Overrides:
startElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters
in interface ContentHandler
- Overrides:
characters
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String qName)
throws SAXException
- Specified by:
endElement
in interface ContentHandler
- Overrides:
endElement
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
warning
public void warning(SAXParseException e)
throws SAXException
- Specified by:
warning
in interface ErrorHandler
- Overrides:
warning
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
error
public void error(SAXParseException e)
throws SAXException
- Specified by:
error
in interface ErrorHandler
- Overrides:
error
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
fatalError
public void fatalError(SAXParseException e)
throws SAXException
- Specified by:
fatalError
in interface ErrorHandler
- Overrides:
fatalError
in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.