Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.xmlparser
Interface XmlAttrHandler

All Known Subinterfaces:
XmlFullHandler
All Known Implementing Classes:
BaseTag, CustomPropertiesTag, CustomPropertyTag, EmbedTag, ScriptTag

public interface XmlAttrHandler

An interface which classes much implement in order to have their attributes handled. If this interface is not implemented, then all attributes for a tag are considered to be 'unknown', and the object must implement the XmlUnAttrHandler to process them.


Method Summary
 XmlAttr[] getAttributes()
          Get a list of attributes which the handler knows about.
 void handleAttribute(int attrNumber, java.lang.String value)
          Called when XmlParser finds a known attributes (as returned by getAttributes()).
 

Method Detail

getAttributes

XmlAttr[] getAttributes()
Get a list of attributes which the handler knows about.


handleAttribute

void handleAttribute(int attrNumber,
                     java.lang.String value)
                     throws XmlAttrException
Called when XmlParser finds a known attributes (as returned by getAttributes()).

Parameters:
attrNumber - An index into the array which was returned from getAttributes. The index represents the found attribute
value - The value of the attribute
Throws:
XmlAttrException

Hyperic HQ Plugin API v. 4.4.0.2

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