Package eu.bandm.tools.option.absy
Class Element_rep.Attr_kind
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedNode<TypedExtension>
eu.bandm.tools.tdom.runtime.TypedAttribute<Element_rep.Attr_kind.Value>
eu.bandm.tools.tdom.runtime.EnumerationAttribute<Element_rep.Attr_kind.Value>
eu.bandm.tools.option.absy.Element_rep.Attr_kind
- Enclosing class:
- Element_rep
@Undocumented
public static class Element_rep.Attr_kind
extends EnumerationAttribute<Element_rep.Attr_kind.Value>
implements Visitable<Visitor>, Matchable<Matcher>
Meaning: Whether the empty sequence is a 
 valid input ("star", not "plus"). 
- 
Nested Class SummaryNested ClassesNested 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 Element_rep.Attr_kind.Valuestatic final NamespaceNameName of the attribute, as defined in the DTD plus tdom PI namespace declarations.static final Element_rep.Attr_kindFields inherited from class eu.bandm.tools.tdom.runtime.TypedAttribute__preAtts, emptyAttributes, mutable, safeValues, specified, value
- 
Constructor SummaryConstructorsConstructorDescription
- 
Method SummaryModifier and TypeMethodDescriptionvoidThe overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.static Element_rep.Attr_kindCreate a new instance, its value picked from the W3C DOM instance.static Element_rep.Attr_kindfrom(Attributes attrs) Create a new instance, its value picked from the SAX attribute container.Method to read the contents of field defaultValue.static TypedDTD.AttributeInfofinal NamespaceNameMethod to read the contents of field namespaceName.protected final Class<Element_rep.Attr_kind.Value> Will be overridden in the generated code by a method which returns the dedicated value class.protected final HashMap<String, ? extends Element_rep.Attr_kind.Value> Returns a map from the external representations as appearing in the DTD to the enumeration items of the value's type.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.Methods inherited from class eu.bandm.tools.tdom.runtime.EnumerationAttributecheckValue, encode, find, getStringValue, getTypeString, setValue, setValueMethods inherited from class eu.bandm.tools.tdom.runtime.TypedAttributeassertSetAttrValid, assertSetAttrValid, clearValue, find, find, getLocalName, getNamespaceURI, getStringValue, getTagName, getValue, isRequired, isSpecified, makeUnspecified, put, setValueMethods 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_kindAttr_kind()
- 
Attr_kindAttr_kind(Element_rep.Attr_kind.Value value) throws TdomAttributeSyntaxException - Throws:
- TdomAttributeSyntaxException
 
- 
Attr_kindAttr_kind(String value) throws TdomAttributeSyntaxException - Throws:
- TdomAttributeSyntaxException
 
 
- 
- 
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<Element_rep.Attr_kind.Value>
- Returns:
- the namespace name of the XML attribute.
 
- 
checkRequiredDescription 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<Element_rep.Attr_kind.Value>
- Throws:
- TdomAttributeMissingException
 
- 
from@Undocumented public static Element_rep.Attr_kind from(Element dom) throws TdomAttributeSyntaxException Create a new instance, its value picked from the W3C DOM instance. (If no value is specified, take the default value from the DTD.)- Throws:
- TdomAttributeSyntaxException
 
- 
from@Undocumented public static Element_rep.Attr_kind from(Attributes attrs) throws TdomAttributeSyntaxException Create a new instance, its value picked from the SAX attribute container. (If no value is specified, take the default value from the DTD.)- Throws:
- TdomAttributeSyntaxException
 
- 
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<Element_rep.Attr_kind.Value>
- 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<Element_rep.Attr_kind.Value>
- Returns:
- whether the attribute is declared as "#FIXED" in the DTD.
 
- 
getValueMapDescription copied from class:EnumerationAttributeReturns a map from the external representations as appearing in the DTD to the enumeration items of the value's type. Will be overridden by the generated code.- Specified by:
- getValueMapin class- EnumerationAttribute<Element_rep.Attr_kind.Value>
 
- 
getValueClassDescription copied from class:EnumerationAttributeWill be overridden in the generated code by a method which returns the dedicated value class.- Specified by:
- getValueClassin class- EnumerationAttribute<Element_rep.Attr_kind.Value>
- Returns:
- the Class object for the values of this attribute.
 
- 
getDefaultValueMethod to read the contents of field defaultValue. @see #defaultValue- Specified by:
- getDefaultValuein class- TypedAttribute<Element_rep.Attr_kind.Value>
- Returns:
- the default value defined in the DTD.
 
- 
getInterfaceInfo
 
-