Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.util.xmlparser
Interface XmlTagHandler

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

public interface XmlTagHandler

The major interface which all objects wishing to use XmlParser must implement. The TagHander provides information about the tags name, and which subtags are valid.


Method Summary
 java.lang.String getName()
          Retrieve the name of the tag, without angled brackets.
 XmlTagInfo[] getSubTags()
          Retrieve information about which subtags are valid within the given tag.
 

Method Detail

getName

java.lang.String getName()
Retrieve the name of the tag, without angled brackets. (i.e. "foo" for tags named )

Returns:
The name of the tag

getSubTags

XmlTagInfo[] getSubTags()
Retrieve information about which subtags are valid within the given tag. This method will only be called once for each object.

Returns:
An array of tag information objects, indicating which subtags are valid.

Hyperic HQ Plugin API v. 4.4.0.2

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