de.ispsoft.jaxme.generator.dtd
Class DTDAttribute

java.lang.Object
  extended byde.ispsoft.jaxme.generator.dtd.DTDObject
      extended byde.ispsoft.jaxme.generator.dtd.DTDAttribute

public class DTDAttribute
extends DTDObject

Stores one attribute declaration from the DTD.

Version:
$Id: DTDAttribute.java,v 1.2 2003/05/21 03:30:19 joe Exp $
Author:
Jochen Wiedmann

Constructor Summary
DTDAttribute(java.lang.String pElementName, java.lang.String pName, java.lang.String pType, java.lang.String pValueDefault, java.lang.String pValue)
          Constructor for DTDAttribute.
 
Method Summary
 java.lang.String getElementName()
          Returns the element name.
 java.lang.String getType()
          Returns the attribute type.
 java.lang.String getValue()
          Returns the attributes default value.
 java.lang.String getValueDefault()
          Returns the attributes default definition.
 boolean isAttribute()
          Returns whether this object is an Attribute.
 
Methods inherited from class de.ispsoft.jaxme.generator.dtd.DTDObject
getMaxOccurs, getMinOccurs, getName, setMaxOccurs, setMinOccurs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDAttribute

public DTDAttribute(java.lang.String pElementName,
                    java.lang.String pName,
                    java.lang.String pType,
                    java.lang.String pValueDefault,
                    java.lang.String pValue)
Constructor for DTDAttribute.

Method Detail

getElementName

public java.lang.String getElementName()

Returns the element name.


getType

public java.lang.String getType()

Returns the attribute type.


getValueDefault

public java.lang.String getValueDefault()

Returns the attributes default definition.


getValue

public java.lang.String getValue()

Returns the attributes default value.


isAttribute

public final boolean isAttribute()
Description copied from class: DTDObject

Returns whether this object is an Attribute.

Specified by:
isAttribute in class DTDObject