|
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.util.xmlparser.XmlAttr
public class XmlAttr
A class which defines an attribute and the conditions on which it is valid.
Field Summary | |
---|---|
static int |
OPTIONAL
|
static int |
REQUIRED
|
Constructor Summary | |
---|---|
XmlAttr(java.lang.String name,
int type)
Create a new XmlAttr attribute with the given name, and type. |
Method Summary | |
---|---|
java.lang.String |
getName()
|
int |
getType()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int REQUIRED
public static final int OPTIONAL
Constructor Detail |
---|
public XmlAttr(java.lang.String name, int type)
name
- The name of the XML tag attributetype
- One of REQUIRED or OPTIONAL, indicating that the
attribute is required for the tag to be valid, or
optional, meaning it is allowed but not required.Method Detail |
---|
public java.lang.String getName()
public int getType()
|
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 |