Package org.dom4j.dtd

Class AttributeDecl

  • All Implemented Interfaces:
    Decl

    public class AttributeDecl
    extends java.lang.Object
    implements Decl

    AttributeDecl represents an attribute declaration in a DTD.

    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeDecl()  
      AttributeDecl(java.lang.String elementName, java.lang.String attributeName, java.lang.String type, java.lang.String valueDefault, java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAttributeName()
      Getter for property attributeName.
      java.lang.String getElementName()
      Getter for property elementName.
      java.lang.String getType()
      Getter for property type.
      java.lang.String getValue()
      Getter for property value.
      java.lang.String getValueDefault()
      Getter for property valueDefault.
      void setAttributeName(java.lang.String attributeName)
      Setter for property attributeName.
      void setElementName(java.lang.String elementName)
      Setter for property elementName.
      void setType(java.lang.String type)
      Setter for property type.
      void setValue(java.lang.String value)
      Setter for property value.
      void setValueDefault(java.lang.String valueDefault)
      Setter for property valueDefault.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AttributeDecl

        public AttributeDecl()
      • AttributeDecl

        public AttributeDecl(java.lang.String elementName,
                             java.lang.String attributeName,
                             java.lang.String type,
                             java.lang.String valueDefault,
                             java.lang.String value)
    • Method Detail

      • getElementName

        public java.lang.String getElementName()
        Getter for property elementName.
        Returns:
        Value of property elementName.
      • setElementName

        public void setElementName(java.lang.String elementName)
        Setter for property elementName.
        Parameters:
        elementName - New value of property elementName.
      • getAttributeName

        public java.lang.String getAttributeName()
        Getter for property attributeName.
        Returns:
        Value of property attributeName.
      • setAttributeName

        public void setAttributeName(java.lang.String attributeName)
        Setter for property attributeName.
        Parameters:
        attributeName - New value of property attributeName.
      • getType

        public java.lang.String getType()
        Getter for property type.
        Returns:
        Value of property type.
      • setType

        public void setType(java.lang.String type)
        Setter for property type.
        Parameters:
        type - New value of property type.
      • getValue

        public java.lang.String getValue()
        Getter for property value.
        Returns:
        Value of property value.
      • setValue

        public void setValue(java.lang.String value)
        Setter for property value.
        Parameters:
        value - New value of property value.
      • getValueDefault

        public java.lang.String getValueDefault()
        Getter for property valueDefault.
        Returns:
        Value of property valueDefault.
      • setValueDefault

        public void setValueDefault(java.lang.String valueDefault)
        Setter for property valueDefault.
        Parameters:
        valueDefault - New value of property valueDefault.
      • toString

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