|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.product.pluginxml.BaseTag
public abstract class BaseTag
Method Summary | |
---|---|
void |
enter()
|
void |
exit()
|
java.lang.String |
filterAttrValue(XmlTagHandler tag,
java.lang.String name,
java.lang.String value)
|
XmlAttr[] |
getAttributes()
Get a list of attributes which the handler knows about. |
protected org.apache.commons.logging.Log |
getLog()
|
XmlTagInfo[] |
getMergedSubTags(XmlTagInfo[] base,
XmlTagInfo add)
|
XmlTagInfo[] |
getMergedSubTags(XmlTagInfo[] base,
XmlTagInfo[] add)
|
abstract java.lang.String |
getName()
Retrieve the name of the tag, without angled brackets. |
java.lang.String[] |
getOptionalAttributes()
|
java.lang.String[] |
getRequiredAttributes()
|
XmlTagInfo[] |
getSubTags()
Retrieve information about which subtags are valid within the given tag. |
void |
handleAttribute(int idx,
java.lang.String value)
Called when XmlParser finds a known attributes (as returned by getAttributes()). |
void |
handleAttribute(java.lang.String name,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract java.lang.String getName()
XmlTagHandler
getName
in interface XmlTagHandler
protected org.apache.commons.logging.Log getLog()
public java.lang.String[] getOptionalAttributes()
public java.lang.String[] getRequiredAttributes()
public XmlAttr[] getAttributes()
XmlAttrHandler
getAttributes
in interface XmlAttrHandler
public void handleAttribute(int idx, java.lang.String value) throws XmlAttrException
XmlAttrHandler
handleAttribute
in interface XmlAttrHandler
idx
- An index into the array which was returned
from getAttributes. The index represents the
found attributevalue
- The value of the attribute
XmlAttrException
public void handleAttribute(java.lang.String name, java.lang.String value) throws XmlAttrException
XmlAttrException
public XmlTagInfo[] getSubTags()
XmlTagHandler
getSubTags
in interface XmlTagHandler
public XmlTagInfo[] getMergedSubTags(XmlTagInfo[] base, XmlTagInfo add)
public XmlTagInfo[] getMergedSubTags(XmlTagInfo[] base, XmlTagInfo[] add)
public java.lang.String filterAttrValue(XmlTagHandler tag, java.lang.String name, java.lang.String value)
filterAttrValue
in interface XmlFilterHandler
public void enter()
enter
in interface XmlTagEntryHandler
public void exit() throws XmlTagException
exit
in interface XmlTagExitHandler
XmlTagException
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |