com.gomjabbar.xml.doctypes.dtd
Class DtdAttribute
java.lang.Object
|
+--com.gomjabbar.xml.doctypes.dtd.DtdAttribute
- All Implemented Interfaces:
- AttributeDescriptor
- public class DtdAttribute
- extends java.lang.Object
- implements AttributeDescriptor
Fields inherited from interface com.gomjabbar.xml.doctypes.AttributeDescriptor |
CONSTRAINT_FIXED, CONSTRAINT_IMPLIED, CONSTRAINT_REQUIRED, TYPE_CDATA, TYPE_CHOICE, TYPE_ENTITIES, TYPE_ENTITY, TYPE_ID, TYPE_IDREF, TYPE_NMTOKEN, TYPE_NMTOKENS, TYPE_NOTATION |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DtdAttribute
public DtdAttribute()
getName
public java.lang.String getName()
- Specified by:
getName
in interface AttributeDescriptor
getTypeComplement
public java.lang.String[] getTypeComplement()
- Specified by:
getTypeComplement
in interface AttributeDescriptor
getType
public short getType()
- Specified by:
getType
in interface AttributeDescriptor
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface AttributeDescriptor
getValueConstraint
public short getValueConstraint()
- Specified by:
getValueConstraint
in interface AttributeDescriptor
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toDocument
public org.w3c.dom.Element toDocument(org.w3c.dom.Document d)
setComments
public void setComments(java.lang.String[] comments)
getComments
public java.lang.String[] getComments()
- Specified by:
getComments
in interface AttributeDescriptor