Package org.dom4j.dtd

Class ElementDecl

  • All Implemented Interfaces:
    Decl

    public class ElementDecl
    extends java.lang.Object
    implements Decl

    AttributeDecl represents an element declaration in a DTD.

    • Constructor Summary

      Constructors 
      Constructor Description
      ElementDecl()  
      ElementDecl(java.lang.String name, java.lang.String model)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getModel()
      Getter for property model.
      java.lang.String getName()
      Getter for property name.
      void setModel(java.lang.String model)
      Setter for property model.
      void setName(java.lang.String name)
      Setter for property name.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • ElementDecl

        public ElementDecl()
      • ElementDecl

        public ElementDecl(java.lang.String name,
                           java.lang.String model)
    • Method Detail

      • getName

        public java.lang.String getName()
        Getter for property name.
        Returns:
        Value of property name.
      • setName

        public void setName(java.lang.String name)
        Setter for property name.
        Parameters:
        name - New value of property name.
      • getModel

        public java.lang.String getModel()
        Getter for property model.
        Returns:
        Value of property model.
      • setModel

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

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