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, wait
parse, supports
protected static final PicketLinkLogger logger
public Object parse(InputStream configStream) throws ParsingException
configStream
- {@link
- IllegalArgumentException}{@link
- IllegalArgumentException} when the configStream is nullParsingException
public Object parse(Source source) throws ParsingException
ParsingException
public Object parse(Node node) throws ParsingException
ParsingException
public XMLEventReader createEventReader(InputStream configStream) throws ParsingException
ParsingException
public XMLEventReader createEventReader(Source source) throws ParsingException
ParsingException
protected XMLEventReader filterWhitespaces(XMLEventReader xmlEventReader) throws XMLStreamException
XMLStreamException
Copyright © 2019 JBoss by Red Hat. All rights reserved.