|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.config.parsing.XmlParserBase
public abstract class XmlParserBase
Contains utility methods that might be useful to most of the parsers.
Constructor Summary | |
---|---|
XmlParserBase()
|
Method Summary | |
---|---|
protected void |
assertNotLegacyElement(Element e)
|
protected boolean |
existsAttribute(String attrValue)
|
protected String |
getAttributeValue(Element element,
String attrName)
Beside querying the element for its attribute value, it will look into the value, if any, and replace the jboss properties(e.g. |
protected boolean |
getBoolean(String str)
|
protected int |
getInt(String intStr)
|
protected long |
getLong(String longStr)
|
protected Element |
getSingleElement(String namespace,
String elementName,
Element parent)
Convenient method for retrieving a single element with the give name. |
protected Element |
getSingleElementInCoreNS(String elementName,
Element parent)
Convenient method for retrieving a single element with the give name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XmlParserBase()
Method Detail |
---|
protected int getInt(String intStr)
Integer.parseInt(String)
protected long getLong(String longStr)
Long.parseLong(String)
protected boolean getBoolean(String str)
Boolean.valueOf(String)
protected boolean existsAttribute(String attrValue)
protected Element getSingleElement(String namespace, String elementName, Element parent)
protected Element getSingleElementInCoreNS(String elementName, Element parent)
protected String getAttributeValue(Element element, String attrName)
StringPropertyReplacer.replaceProperties(String)
protected void assertNotLegacyElement(Element e)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |