public class StaxBasedConfigParser extends Object implements XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
StaxBasedConfigParser() |
Modifier and Type | Method and Description |
---|---|
void |
parse(InputStream configStream)
Parse the Input stream of configuration
|
void |
parse2(InputStream configStream) |
void |
schemaValidate(InputStream configStream)
Validate the input file against a schema
|
public void schemaValidate(InputStream configStream) throws SAXException, IOException
configStream
- SAXException
IOException
public void parse(InputStream configStream) throws XMLStreamException, SAXException, IOException
configStream
- XMLStreamException
IOException
SAXException
public void parse2(InputStream configStream) throws XMLStreamException
XMLStreamException
Copyright © 2021 JBoss by Red Hat. All rights reserved.