Class DTDAttlistDecl

  • All Implemented Interfaces:
    DOMRange, Node

    public class DTDAttlistDecl
    extends DTDDeclNode
    DTD Attribute List declaration
    • Constructor Detail

      • DTDAttlistDecl

        public DTDAttlistDecl​(int start,
                              int end)
    • Method Detail

      • getElementName

        public String getElementName()
        Returns the element name
        Returns:
        the element name
      • getAttributeName

        public String getAttributeName()
        Returns the attribute name
        Returns:
        the attribute name
      • setAttributeName

        public void setAttributeName​(int start,
                                     int end)
      • getAttributeType

        public String getAttributeType()
      • setAttributeType

        public void setAttributeType​(int start,
                                     int end)
      • getAttributeValue

        public String getAttributeValue()
      • setAttributeValue

        public void setAttributeValue​(int start,
                                      int end)
      • isRootAttlist

        public boolean isRootAttlist()
        Returns true if this node's parent is the Doctype node. This is used because an Attlist declaration can have multiple attribute declarations within a tag that are each represented by this class.