|
|||||||||
| Home >> All >> org >> merlotxml >> util >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.merlotxml.util.xml
Interface DTDAttribute

- All Superinterfaces:
- DTDConstants
- public interface DTDAttribute
- extends DTDConstants
This interface provides access to an attribute
- Version:
- $Id: DTDAttribute.java,v 1.1.1.1 2001/07/02 15:41:28 flament Exp $
| 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, GROUP, ID, IDREF, IDREFS, IMPLIED, NMTOKEN, NMTOKENS, NONE, PCDATA, PCDATA_KEY, PROCESSING_INSTRUCTION, PROCESSING_INSTRUCTION_KEY, REQUIRED, TOKEN_GROUP |
| 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. |
| Method Detail |
getName
public java.lang.String getName()
- Returns the attribute name. i.e. <!ATTLIST elname attname...
This would return "attname" in that case.
getType
public int getType()
- returns the attribute type, either ANY, CDATA,
TOKEN_GROUP, NMTOKEN, NMTOKENS.
see DTDConstants for these definitions.
getTokens
public java.util.Enumeration getTokens()
- returns an enumeration consisting of String objects that are the
tokens for this attribute definition
getDefaultValue
public java.lang.String getDefaultValue()
- returns the default value if none is specified as a String
getDefaultType
public int getDefaultType()
- Returns IMPLIED or REQUIRED, or NONE if nothing is specified
|
|||||||||
| Home >> All >> org >> merlotxml >> util >> [ xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC