|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.merlotxml.util.xml.xerces.DTDGrammarSimpleTypeImpl
Constructor Summary | |
DTDGrammarSimpleTypeImpl(DTDGrammarComplexTypeImpl complexType,
int attributeDeclIndex,
org.apache.xerces.impl.dtd.XMLAttributeDecl attributeDecl)
|
Method Summary | |
int |
getDefaultType()
Gets the defaultType attribute of the GrammarSimpleType object |
java.lang.String |
getDefaultValue()
Gets the defaultValue attribute of the GrammarSimpleType object |
java.lang.String[] |
getEnumeration()
Gets the allowed values for this simple type. |
GrammarComplexType |
getGrammarComplexType()
Gets the parent complex type. |
boolean |
getIsRequired()
Gets whether this simple type must have a value. |
boolean |
getIsValid(FieldNode valueNode)
Validates the proposed content. |
java.lang.String |
getName()
Gets the name attribute of the GrammarSimpleType object |
java.lang.String |
getPrimitiveType()
Gets the primitiveType attribute of the GrammarSimpleType object. |
int |
getType()
Gets the type attribute of the GrammarSimpleType object |
java.lang.String |
getValidationMessage(FieldNode valueNode)
Validates the proposed content, and returns an error message, if any. |
boolean |
isList()
|
void |
setValue(FieldNode fieldNode,
java.lang.String value)
Called from MerlotDOMElement. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DTDGrammarSimpleTypeImpl(DTDGrammarComplexTypeImpl complexType, int attributeDeclIndex, org.apache.xerces.impl.dtd.XMLAttributeDecl attributeDecl)
Method Detail |
public int getDefaultType()
GrammarSimpleType
getDefaultType
in interface GrammarSimpleType
public java.lang.String getDefaultValue()
GrammarSimpleType
getDefaultValue
in interface GrammarSimpleType
public java.lang.String[] getEnumeration()
GrammarSimpleType
getEnumeration
in interface GrammarSimpleType
public boolean getIsRequired()
GrammarSimpleType
XML Schema:
getIsRequired
in interface GrammarSimpleType
public boolean getIsValid(FieldNode valueNode)
GrammarSimpleType
getIsValid
in interface GrammarSimpleType
valueNode
- The Attr or Text that contains the value.
public java.lang.String getName()
GrammarSimpleType
getName
in interface GrammarSimpleType
public GrammarComplexType getGrammarComplexType()
GrammarSimpleType
getGrammarComplexType
in interface GrammarSimpleType
public java.lang.String getPrimitiveType()
GrammarSimpleType
getPrimitiveType
in interface GrammarSimpleType
public boolean isList()
public int getType()
GrammarSimpleType
getType
in interface GrammarSimpleType
public java.lang.String getValidationMessage(FieldNode valueNode)
GrammarSimpleType
getValidationMessage
in interface GrammarSimpleType
public void setValue(FieldNode fieldNode, java.lang.String value)
setValue
in interface GrammarSimpleType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |