|
||||||||||
| 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 Integer |
attributeAsInt(XMLStreamReader reader,
String attributeName)
convert an xml element in String 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 org.jboss.jca.common.api.metadata.common.FlushStrategy |
elementAsFlushStrategy(XMLStreamReader reader)
convert an xml element in FlushStrategy 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 |
boolean |
isSystemPropertiesResolved()
|
protected org.jboss.jca.common.api.metadata.common.Credential |
parseCredential(XMLStreamReader reader)
parse credential tag |
protected org.jboss.jca.common.api.metadata.common.Extension |
parseExtension(XMLStreamReader reader,
String enclosingTag)
parse the Extension tag |
protected org.jboss.jca.common.api.metadata.common.CommonPool |
parsePool(XMLStreamReader reader)
parse a CommonPool object |
protected org.jboss.jca.common.api.metadata.common.Recovery |
parseRecovery(XMLStreamReader reader)
Parse recovery tag |
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 |
void |
setSystemPropertiesResolved(boolean v)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractParser()
| Method Detail |
|---|
public boolean isSystemPropertiesResolved()
public void setSystemPropertiesResolved(boolean v)
protected Boolean elementAsBoolean(XMLStreamReader reader)
throws XMLStreamException,
ParserException
reader - the StAX reader
XMLStreamException - StAX exception
ParserException - in case of non valid boolean for given element value
protected Boolean attributeAsBoolean(XMLStreamReader reader,
String attributeName,
Boolean defaultValue)
throws XMLStreamException,
ParserException
reader - the StAX readerattributeName - the name of the attributedefaultValue - defaultValue
XMLStreamException - StAX exception
ParserException - in case of not valid boolena for given attribute
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 attributeAsInt(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.FlushStrategy elementAsFlushStrategy(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,
org.jboss.jca.common.api.validator.ValidateException
CommonPool object
reader - reader
CommonPool object
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.common.CommonSecurity parseSecuritySettings(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
CommonSecurity element
reader - reader
CommonSecurity object
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.common.CommonXaPool parseXaPool(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
CommonXaPool object
reader - reader
CommonXaPool object
XMLStreamException - XMLStreamException
ParserException - ParserException
org.jboss.jca.common.api.validator.ValidateException - ValidateException
protected org.jboss.jca.common.api.metadata.common.Credential parseCredential(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - reader
XMLStreamException - in case of error
ParserException - in case of error
org.jboss.jca.common.api.validator.ValidateException - in case of error
protected org.jboss.jca.common.api.metadata.common.Recovery parseRecovery(XMLStreamReader reader)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - reader
XMLStreamException - in case of error
ParserException - in case of error
org.jboss.jca.common.api.validator.ValidateException - in case of error
protected org.jboss.jca.common.api.metadata.common.Extension parseExtension(XMLStreamReader reader,
String enclosingTag)
throws XMLStreamException,
ParserException,
org.jboss.jca.common.api.validator.ValidateException
reader - readerenclosingTag - enclosingTag
XMLStreamException - in case of error
ParserException - in case of error
org.jboss.jca.common.api.validator.ValidateException - in case of error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||