public abstract class AbstractParser extends Object implements ParserNamespaceSupport
| Modifier and Type | Field and Description |
|---|---|
protected static PicketLinkLogger |
logger |
| Constructor and Description |
|---|
AbstractParser() |
| Modifier and Type | Method and Description |
|---|---|
XMLEventReader |
createEventReader(InputStream configStream) |
protected XMLEventReader |
filterWhitespaces(XMLEventReader xmlEventReader) |
protected XMLInputFactory |
getXMLInputFactory()
Get the JAXP
XMLInputFactory |
Object |
parse(InputStream configStream)
Parse an InputStream for payload
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparse, supportsprotected static final PicketLinkLogger logger
protected XMLInputFactory getXMLInputFactory()
XMLInputFactorypublic Object parse(InputStream configStream) throws ParsingException
configStream - {@link - IllegalArgumentException}{@link - IllegalArgumentException} when the configStream is nullParsingExceptionpublic XMLEventReader createEventReader(InputStream configStream) throws ParsingException
ParsingExceptionprotected XMLEventReader filterWhitespaces(XMLEventReader xmlEventReader) throws XMLStreamException
XMLStreamExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.