com.liferay.faces.util.config.internal
Class FacesConfigDescriptorParserImpl
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.liferay.faces.util.xml.internal.SAXHandlerBase
com.liferay.faces.util.config.internal.FacesConfigDescriptorParserImpl
- All Implemented Interfaces:
- FacesConfigDescriptorParser, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class FacesConfigDescriptorParserImpl
- extends SAXHandlerBase
- implements FacesConfigDescriptorParser
- Author:
- Neil Griffin
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesConfigDescriptorParserImpl
public FacesConfigDescriptorParserImpl(SAXParser saxParser,
boolean resolveEntities)
endElement
public void endElement(String uri,
String localName,
String elementName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
parse
public FacesConfigDescriptor parse(InputStream inputStream,
String path)
throws IOException
- Specified by:
parse in interface FacesConfigDescriptorParser
- Throws:
IOException
parse
public FacesConfigDescriptor parse(InputStream inputStream,
URL url)
throws IOException
- Description copied from interface:
FacesConfigDescriptorParser
- Parses the specified InputStream and returns a new FacesConfigDescriptor. Closing the specified InputStream is
the responsibility of the caller.
- Specified by:
parse in interface FacesConfigDescriptorParser
- Throws:
IOException
startElement
public void startElement(String uri,
String localName,
String elementName,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
- Throws:
SAXException
isWebInfFacesConfig
public boolean isWebInfFacesConfig()
Copyright © 2015 Liferay, Inc.. All rights reserved.