Package eu.bandm.tools.option.absy
Class Element_uri.Attr_default
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<TypedExtension>
eu.bandm.tools.tdom.runtime.TypedAttribute<String>
eu.bandm.tools.tdom.runtime.CDataAttribute
eu.bandm.tools.option.absy.Element_uri.Attr_default
- All Implemented Interfaces:
- ImpliedAttribute,- Matchable<Matcher>,- Visitable<Visitor>
- Enclosing class:
- Element_uri
@Undocumented
public static class Element_uri.Attr_default
extends CDataAttribute
implements Visitable<Visitor>, Matchable<Matcher>, ImpliedAttribute
Meaning: Default value in case the option is
 missing completely.
 Must be verbatim valid Java source text. 
- 
Nested Class SummaryNested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedAttributeTypedAttribute.__PreAtts, TypedAttribute.SafeValuesNested classes/interfaces inherited from class eu.bandm.tools.tdom.runtime.TypedNodeTypedNode.ParseListener<E extends TypedElement<?,?>> 
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) static final Stringstatic final NamespaceNameName of the attribute, as defined in the DTD plus tdom PI namespace declarations.static final Element_uri.Attr_defaultFields inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute__preAtts, emptyAttributes, mutable, safeValues, specified, value
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidThe overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.static Element_uri.Attr_defaultCreate a new instance, its value picked from the W3C DOM instance.static Element_uri.Attr_defaultfrom(Attributes attrs) Create a new instance, its value picked from the SAX attribute container.final StringMethod to read the contents of field defaultValue.static TypedDTD.AttributeInfofinal NamespaceNameMethod to read the contents of field namespaceName.voidSend the visitor to this instance.voidfinal booleanisFixed()Returns whether the attribute is declared as "#FIXED" in the DTD.final booleanReturns whether the attribute is declared as "#IMPLIED" in the DTD.voidSet the value of this attribute.Methods inherited from class eu.bandm.tools.tdom.runtime.CDataAttributecheckValue, encode, getStringValue, getTypeString, setValueMethods inherited from class eu.bandm.tools.tdom.runtime.TypedAttributeassertSetAttrValid, assertSetAttrValid, clearValue, find, find, getLocalName, getNamespaceURI, getStringValue, getTagName, getValue, isRequired, isSpecified, makeUnspecified, putMethods inherited from class eu.bandm.tools.tdom.runtime.TypedNodeasBigDecimal, asBigDecimal, asBigDecimal, asBigDecimal, asBigInteger, asBigInteger, asBigInteger, asBigInteger, asBoolean, asBoolean, asDouble, asDouble, asDouble, asDouble, asFloat, asFloat, asFloat, asFloat, asHexInt, asHexInt, asHexInt, asHexInt, asInt, asInt, asInt, asInt, asLong, asLong, asLong, asLong, asTrimmedString, asTrimmedString, asTrimmedString, asTrimmedString, checkPlus, checkPlus, checkStar, checkStar, checkStrict, encode, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
- 
Field Details- 
namespaceNameName of the attribute, as defined in the DTD plus tdom PI namespace declarations.
- 
defaultValue
- 
unspecified
 
- 
- 
Constructor Details- 
Attr_defaultAttr_default()
- 
Attr_default
 
- 
- 
Method Details- 
hostDescription copied from interface:VisitableSend the visitor to this instance.
- 
identify
- 
getNamespaceNameMethod to read the contents of field namespaceName. @see #namespaceName- Specified by:
- getNamespaceNamein class- TypedAttribute<String>
- Returns:
- the namespace name of the XML attribute.
 
- 
setValueDescription copied from class:TypedAttributeSet the value of this attribute. This method is only guaranteed to succeed if this instance has been returned by the generated method "getAttr_XXX()". The instance returned by a call to "readAttr_XXX()" is possibly the shared prototype, which will throw an exception when trying to set the value.- Overrides:
- setValuein class- TypedAttribute<String>
- Parameters:
- v- maybe null, which sets the attribute to "not specified when initializing the document", if it is declared #IMPLIED.
 
- 
checkRequiredpublic void checkRequired()Description copied from class:TypedAttributeThe overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.- Specified by:
- checkRequiredin class- TypedAttribute<String>
 
- 
fromCreate a new instance, its value picked from the W3C DOM instance. (If no value is specified, take the default value from the DTD.)
- 
fromCreate a new instance, its value picked from the SAX attribute container. (If no value is specified, take the default value from the DTD.)
- 
isOptionalpublic final boolean isOptional()Description copied from class:TypedAttributeReturns whether the attribute is declared as "#IMPLIED" in the DTD. Will be overridden by the generated code.- Specified by:
- isOptionalin class- TypedAttribute<String>
- Returns:
- whether the attribute is declared as "#IMPLIED" in the DTD.
 
- 
isFixedpublic final boolean isFixed()Description copied from class:TypedAttributeReturns whether the attribute is declared as "#FIXED" in the DTD. Will be overridden by the generated code.- Specified by:
- isFixedin class- TypedAttribute<String>
- Returns:
- whether the attribute is declared as "#FIXED" in the DTD.
 
- 
getDefaultValueMethod to read the contents of field defaultValue. @see #defaultValue- Specified by:
- getDefaultValuein class- TypedAttribute<String>
- Returns:
- the default value defined in the DTD.
 
- 
getInterfaceInfo
 
-