|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.merlotxml.util.xml.xerces.DTDAttributeImpl
DTDAttribute
Field Summary |
Fields inherited from interface org.merlotxml.util.xml.DTDConstants |
ANY, CDATA, COMMENT, COMMENT_KEY, CONTENT_CONCAT, CONTENT_GROUP, CONTENT_LEAF, CONTENT_ONEMAX, CONTENT_OR, CONTENT_PLUS, CONTENT_SINGLE, CONTENT_STAR, EMPTY, ENTITIES, ENTITY, FIXED, GROUP, ID, IDREF, IDREFS, IMPLIED, NMTOKEN, NMTOKENS, NONE, NOTATION, PCDATA, PCDATA_KEY, PROCESSING_INSTRUCTION, PROCESSING_INSTRUCTION_KEY, REQUIRED, TOKEN_GROUP |
Constructor Summary | |
DTDAttributeImpl(DTDElementImpl element,
java.lang.String name)
|
|
DTDAttributeImpl(GrammarSimpleType simpleType)
|
Method Summary | |
int |
getDefaultType()
Returns IMPLIED or REQUIRED, or NONE if nothing is specified |
java.lang.String |
getDefaultValue()
returns the default value if none is specified as a String |
java.lang.String |
getName()
Returns the attribute name. |
java.util.Enumeration |
getTokens()
returns an enumeration consisting of String objects that are the tokens for this attribute definition |
int |
getType()
returns the attribute type, either ANY, CDATA, TOKEN_GROUP, NMTOKEN, NMTOKENS. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DTDAttributeImpl(DTDElementImpl element, java.lang.String name)
public DTDAttributeImpl(GrammarSimpleType simpleType)
Method Detail |
public java.lang.String getName()
DTDAttribute
This would return "attname" in that case.
getName
in interface DTDAttribute
public int getType()
DTDAttribute
getType
in interface DTDAttribute
public int getDefaultType()
DTDAttribute
getDefaultType
in interface DTDAttribute
public java.util.Enumeration getTokens()
DTDAttribute
getTokens
in interface DTDAttribute
public java.lang.String getDefaultValue()
DTDAttribute
getDefaultValue
in interface DTDAttribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |