|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.common.metadata.AbstractParser
public abstract class AbstractParser

A AbstractParser.
| Constructor Summary | |
|---|---|
AbstractParser()
|
|
| Method Summary | |
|---|---|
protected boolean |
attributeAsBoolean(XMLStreamReader reader,
String attributeName,
boolean defaultValue)
convert an xml attribute in boolean value. |
protected String |
attributeAsString(XMLStreamReader reader,
String attributeName)
convert an xml element in String value |
protected boolean |
elementAsBoolean(XMLStreamReader reader)
convert an xml element in boolean value. |
protected Integer |
elementAsInteger(XMLStreamReader reader)
convert an xml element in Integer value |
protected Long |
elementAsLong(XMLStreamReader reader)
convert an xml element in Long value |
protected String |
elementAsString(XMLStreamReader reader)
convert an xml element in String value |
protected org.jboss.jca.common.api.metadata.common.CommonPool |
parsePool(XMLStreamReader reader)
parse a CommonPool object |
protected org.jboss.jca.common.api.metadata.common.CommonSecurity |
parseSecuritySettings(XMLStreamReader reader)
parse a CommonSecurity element |
protected org.jboss.jca.common.api.metadata.common.CommonXaPool |
parseXaPool(XMLStreamReader reader)
parse a CommonXaPool object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractParser()
| Method Detail |
|---|
protected boolean elementAsBoolean(XMLStreamReader reader)
throws XMLStreamException
reader - the StAX reader
XMLStreamException - StAX exception
protected boolean attributeAsBoolean(XMLStreamReader reader,
String attributeName,
boolean defaultValue)
throws XMLStreamException
reader - the StAX readerattributeName - the name of the attributedefaultValue - defaultValue
XMLStreamException - StAX exception
protected String elementAsString(XMLStreamReader reader)
throws XMLStreamException
reader - the StAX reader
XMLStreamException - StAX exception
protected String attributeAsString(XMLStreamReader reader,
String attributeName)
throws XMLStreamException
reader - the StAX readerattributeName - the name of the attribute
XMLStreamException - StAX exception
protected Integer elementAsInteger(XMLStreamReader reader)
throws XMLStreamException,
ParserException
reader - the StAX reader
XMLStreamException - StAX exception
ParserException - in case it isn't a number
protected Long elementAsLong(XMLStreamReader reader)
throws XMLStreamException,
ParserException
reader - the StAX reader
XMLStreamException - StAX exception
ParserException - in case it isn't a number
protected org.jboss.jca.common.api.metadata.common.CommonPool parsePool(XMLStreamReader reader)
throws XMLStreamException,
ParserException
CommonPool object
reader - reader
CommonPool object
XMLStreamException - XMLStreamException
ParserException - ParserException
protected org.jboss.jca.common.api.metadata.common.CommonSecurity parseSecuritySettings(XMLStreamReader reader)
throws XMLStreamException,
ParserException
CommonSecurity element
reader - reader
CommonSecurity object
XMLStreamException - XMLStreamException
ParserException - ParserException
protected org.jboss.jca.common.api.metadata.common.CommonXaPool parseXaPool(XMLStreamReader reader)
throws XMLStreamException,
ParserException
CommonXaPool object
reader - reader
CommonXaPool object
XMLStreamException - XMLStreamException
ParserException - ParserException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||