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) |
XMLEventReader |
createEventReader(Source source) |
protected XMLEventReader |
filterWhitespaces(XMLEventReader xmlEventReader) |
Object |
parse(InputStream configStream)
Parse an InputStream for payload
|
Object |
parse(Node node) |
Object |
parse(Source source) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparse, supportsprotected static final PicketLinkLogger logger
public Object parse(InputStream configStream) throws ParsingException
configStream - {@link - IllegalArgumentException}{@link - IllegalArgumentException} when the configStream is nullParsingExceptionpublic Object parse(Source source) throws ParsingException
ParsingExceptionpublic Object parse(Node node) throws ParsingException
ParsingExceptionpublic XMLEventReader createEventReader(InputStream configStream) throws ParsingException
ParsingExceptionpublic XMLEventReader createEventReader(Source source) throws ParsingException
ParsingExceptionprotected XMLEventReader filterWhitespaces(XMLEventReader xmlEventReader) throws XMLStreamException
XMLStreamExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.