Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

## org.hyperic.util.xmlparser
Class XmlAttr

    java.lang.Object
      org.hyperic.util.xmlparser.XmlAttr

    public class XmlAttr

extends java.lang.Object

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

### REQUIRED

    public static final int REQUIRED

See Also:
  Constant Field Values

### OPTIONAL

    public static final int OPTIONAL

See Also:
  Constant Field Values

Constructor Detail

### XmlAttr

    public XmlAttr(java.lang.String name,
                   int type)

  Create a new XmlAttr attribute with the given name, and type.

  Parameters:
    `name` - The name of the XML tag attribute
    `type` - 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

### getName

    public java.lang.String getName()

### getType

    public int getType()

Overview | Package | Class | Tree | Deprecated | Index | Help
| 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

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.