org.menagery.dtd
Class Attlist

java.lang.Object
  |
  +--org.menagery.dtd.Attlist

public class Attlist
extends java.lang.Object


Constructor Summary
Attlist(java.lang.String elementName, java.lang.String attlist)
          Creates a new Attlist (attribute list) object.
 
Method Summary
 java.util.Vector getAttributes()
          Get the attribute list.
 Element getElement()
          Get the element.
 void merge(Attlist attlist)
          Merge another attribute list into this list.
 void setElement(Element element)
          Set the element for this attribute.
 java.lang.String toString()
          Override toString().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attlist

public Attlist(java.lang.String elementName,
               java.lang.String attlist)
Creates a new Attlist (attribute list) object.
Parameters:
elementName - The element name from the DTD.
attlist - The attribute list from the DTD.
Method Detail

getElement

public Element getElement()
Get the element.
Returns:
The element associated with this attribute list.

setElement

public void setElement(Element element)
Set the element for this attribute.
Parameters:
element - The element for this attribute.

getAttributes

public java.util.Vector getAttributes()
Get the attribute list.
Returns:
The attribute list.

merge

public void merge(Attlist attlist)
Merge another attribute list into this list.
Parameters:
attlist - The other attribute list.

toString

public java.lang.String toString()
Override toString().
Overrides:
toString in class java.lang.Object