Package com.thaiopensource.xml.dtd.om
Class FixedValue
- java.lang.Object
-
- com.thaiopensource.xml.dtd.om.AttributeDefault
-
- com.thaiopensource.xml.dtd.om.FixedValue
-
public class FixedValue extends AttributeDefault
-
-
Field Summary
-
Fields inherited from class com.thaiopensource.xml.dtd.om.AttributeDefault
ATTRIBUTE_DEFAULT_REF, DEFAULT_VALUE, FIXED_VALUE, IMPLIED_VALUE, REQUIRED_VALUE
-
-
Constructor Summary
Constructors Constructor Description FixedValue(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(AttributeDefaultVisitor visitor)java.lang.StringgetDefaultValue()java.lang.StringgetFixedValue()intgetType()java.lang.StringgetValue()-
Methods inherited from class com.thaiopensource.xml.dtd.om.AttributeDefault
isRequired
-
-
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getTypein classAttributeDefault
-
getValue
public java.lang.String getValue()
-
accept
public void accept(AttributeDefaultVisitor visitor) throws java.lang.Exception
- Specified by:
acceptin classAttributeDefault- Throws:
java.lang.Exception
-
getDefaultValue
public java.lang.String getDefaultValue()
- Overrides:
getDefaultValuein classAttributeDefault
-
getFixedValue
public java.lang.String getFixedValue()
- Overrides:
getFixedValuein classAttributeDefault
-
-