org.apache.hivemind.parse
Class ElementParseInfo

java.lang.Object
  extended by org.apache.hivemind.parse.ElementParseInfo

public class ElementParseInfo
extends java.lang.Object

Used by DescriptorParser to track which attributes are expected for an element, and which are required.

Author:
Howard Lewis Ship

Constructor Summary
ElementParseInfo()
           
 
Method Summary
 void addAttribute(java.lang.String name, boolean required)
           
 java.util.Iterator getRequiredNames()
          Returns all the required attribute names as an Iterator (of String).
 boolean isKnown(java.lang.String attributeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementParseInfo

public ElementParseInfo()
Method Detail

addAttribute

public void addAttribute(java.lang.String name,
                         boolean required)

isKnown

public boolean isKnown(java.lang.String attributeName)

getRequiredNames

public java.util.Iterator getRequiredNames()
Returns all the required attribute names as an Iterator (of String).