public class ModuleOptionParser 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 |
---|
ModuleOptionParser() |
Modifier and Type | Method and Description |
---|---|
static void |
addParser(String parserName,
ParserNamespaceSupport parser) |
Map<String,Object> |
parse(XMLEventReader xmlEventReader)
Parse the module-option element
|
Map<String,Object> |
parse(XMLStreamReader reader)
Parse the module-option element
|
public static void addParser(String parserName, ParserNamespaceSupport parser)
public Map<String,Object> parse(XMLEventReader xmlEventReader) throws XMLStreamException
xmlEventReader
- XMLStreamException
public Map<String,Object> parse(XMLStreamReader reader) throws XMLStreamException
reader
- XMLStreamException
Copyright © 2019 JBoss by Red Hat. All rights reserved.