@User public class Element_base extends Element implements Attr_id.Owner, Identifiable, Visitable<Visitor>, Matchable<BaseMatcher>
href
.
id
.
Modifier and Type | Class and Description |
---|---|
static class |
Element_base.Attr_href |
Element.UnmixedContent
TypedElement.AttributeDecoder, TypedElement.AttributeEncoder, TypedElement.MixedContent<E extends TypedElement<E,X>,X extends TypedExtension>, TypedElement.MixedContentContainer, TypedElement.MixedContentFactory<C extends TypedElement.MixedContent<E,X>,E extends TypedElement<E,X>,X extends TypedExtension,Y extends Exception>, TypedElement.PCDataContainer
TypedNode.ParseListener<E extends TypedElement<?,?>>
TypedContent.DecodingConstructor<C extends TypedContent,X extends TypedExtension,Y extends Exception>, TypedContent.ParsingConstructor<C extends TypedContent,E extends TypedElement<E,X>,X extends TypedExtension,Y extends Exception>
Modifier and Type | Field and Description |
---|---|
static NamespaceName |
name |
static int |
TAG_INDEX |
static String |
TAG_NAME |
getDeepPCData, getFlatPCData
Constructor and Description |
---|
Element_base() |
Element_base(Attributes attrs,
TypedSubstantial<Extension>... content) |
Element_base(TypedAttribute.SafeValues flag) |
Element_base(TypedSubstantial<Extension>... content) |
Modifier and Type | Method and Description |
---|---|
void |
__dumpElementSnapshot(List<TypedSubstantial<Extension>> list) |
protected TypedAttribute[] |
__getAllAttrs() |
Element_base |
checkRequiredAttrs() |
void |
encode(EncodingOutputStream out,
Extension ext)
Abstract fall-back method which MUST be overridden and always throws an Exception.
|
Element_base.Attr_href |
getAttr_href() |
Attr_id |
getAttr_id() |
String |
getId()
Returns the current value of the attribute of ID type.
|
IdAttribute |
getIdAttribute()
Returns the only attribute of ID type.
|
static TypedDTD.ElementInfo |
getInterfaceInfo() |
int |
getTagIndex() |
void |
host(Visitor visitor)
Send the visitor to this instance.
|
void |
identify(BaseMatcher matcher) |
protected void |
initAttrs() |
protected void |
initAttrs(Attributes attrs)
Will be overridden by generated code which picks attribute values.
|
protected void |
initAttrsSafe() |
static Element_base |
parse(SAXEventStream in,
Extension ext,
TypedNode.ParseListener<Element> listener) |
Element_base.Attr_href |
readAttr_href() |
Attr_id |
readAttr_id() |
void |
set() |
getDeepPCData
classifyForException, decodeMixed, decodeOptional, decodePlus, decodePlusList, decodeStar, decodeStarList, encode, encodeMixed, end, ensureSize, extractElement, getAttrsSnapshot, getAttrsSnapshot, getElemsSnapshot, getEtherealContainer, getLocalName, getName, getNamespaceURI, getPCData, getTagName, initAttrs, initAttrsSafe, matchEndElement, matchEndElement, matchStartElement, matchStartElement, parseAbstract, parseAndClose, parseAndClose, parseMixed, parseMixed, parseOptional, parsePlus, parsePlusList, parseStar, parseStarList, semiparseEmpty, semiparseMixed, setResizing, start, w3c_getNamespaceName
dumpFollowingEthereals, dumpPrecedingEthereals, getFollowingEthereals, getPrecedingEthereals, readFollowingEthereals, readPrecedingEthereals
asBigDecimal, 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, encodeOptional, encodePlus, encodePlus, encodeStar, encodeStar, extractEthereals, getLocation, getPCData, setLocation, setLocation, setLocation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLocation
public static final int TAG_INDEX
public static final String TAG_NAME
public static final NamespaceName name
public Element_base() throws TdomAttributeMissingException, TdomAttributeSyntaxException
public Element_base(TypedAttribute.SafeValues flag) throws TdomAttributeMissingException
TdomAttributeMissingException
@SafeVarargs public Element_base(@Opt Attributes attrs, TypedSubstantial<Extension>... content) throws TdomAttributeMissingException, TdomContentException, TdomAttributeSyntaxException
@SafeVarargs public Element_base(TypedSubstantial<Extension>... content) throws TdomAttributeMissingException, TdomContentException, TdomAttributeSyntaxException
public void set()
public final void encode(EncodingOutputStream out, Extension ext) throws IOException
TypedNode
encode
in class TypedNode<Extension>
IOException
public void __dumpElementSnapshot(List<TypedSubstantial<Extension>> list)
__dumpElementSnapshot
in class TypedElement<Element,Extension>
public final int getTagIndex()
getTagIndex
in class TypedElement<Element,Extension>
@User public final Element_base.Attr_href getAttr_href()
@User public final Element_base.Attr_href readAttr_href()
@User public final Attr_id getAttr_id()
getAttr_id
in interface Attr_id.Owner
@User public final Attr_id readAttr_id()
readAttr_id
in interface Attr_id.Owner
protected TypedAttribute[] __getAllAttrs()
__getAllAttrs
in class TypedElement<Element,Extension>
@User public String getId()
Identifiable
getId
in interface Identifiable
@User public IdAttribute getIdAttribute()
Identifiable
getIdAttribute
in interface Identifiable
protected void initAttrs(Attributes attrs) throws TdomAttributeSyntaxException
TypedElement
initAttrs
in class TypedElement<Element,Extension>
TdomAttributeSyntaxException
public static Element_base parse(SAXEventStream in, Extension ext, TypedNode.ParseListener<Element> listener) throws TdomAttributeException, TdomXmlException, TdomContentException
public void host(Visitor visitor)
Visitable
public void identify(BaseMatcher matcher)
identify
in interface Matchable<BaseMatcher>
protected void initAttrs() throws TdomAttributeSyntaxException
TdomAttributeSyntaxException
protected void initAttrsSafe()
public final Element_base checkRequiredAttrs() throws TdomAttributeMissingException
TdomAttributeMissingException
@User public static TypedDTD.ElementInfo getInterfaceInfo()
see also the complete user documentation .