public class WebConfigParserImpl extends SAXHandlerBase implements WebConfigParser
content| Constructor and Description |
|---|
WebConfigParserImpl(SAXParser saxParser,
boolean resolveEntities) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(String uri,
String localName,
String qName) |
WebConfig |
parse(InputStream inputStream,
WebConfig webConfig)
Parses the specified InputStream and returns a new WebConfig that contains parsed data that has been appended to
the specified WebConfig.
|
void |
startElement(String uri,
String localName,
String elementName,
Attributes attributes) |
characters, resolveEntityendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic WebConfigParserImpl(SAXParser saxParser, boolean resolveEntities)
public void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic WebConfig parse(InputStream inputStream, WebConfig webConfig) throws IOException
WebConfigParserparse in interface WebConfigParserIOExceptionpublic void startElement(String uri, String localName, String elementName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionCopyright © 2016 Liferay, Inc.. All rights reserved.