Package eu.bandm.tools.tdom.runtime
Class TypedElement.UnmixedContent<E extends TypedElement<E,X>,X extends TypedExtension>
java.lang.Object
eu.bandm.tools.tdom.runtime.TypedElement.MixedContent<E,X>
eu.bandm.tools.tdom.runtime.TypedElement.UnmixedContent<E,X>
- All Implemented Interfaces:
TypedContent
- Direct Known Subclasses:
Element.UnmixedContent
,Element.UnmixedContent
,Element.UnmixedContent
,Element.UnmixedContent
- Enclosing class:
- TypedElement<E extends TypedElement<E,
X>, X extends TypedExtension>
public abstract static class TypedElement.UnmixedContent<E extends TypedElement<E,X>,X extends TypedExtension>
extends TypedElement.MixedContent<E,X>
Content class in case that only PCData is contained, can be reused between models
and instances.
ATTENTION "
ATTENTION "
implements Visitable<..>
" and "implements Visitable<..>
" added in
generated code, since specific for generated base classes.-
Nested Class Summary
Nested classes/interfaces inherited from interface eu.bandm.tools.tdom.runtime.TypedContent
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> -
Field Summary
Fields inherited from class eu.bandm.tools.tdom.runtime.TypedElement.MixedContent
ALT_PCDATA, altIndex, content
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the number of different variants, NOT including "#PCDATA
" in the content model.void
identify
(BaseMatcher matcher) Methods inherited from class eu.bandm.tools.tdom.runtime.TypedElement.MixedContent
encode, getAltIndex, getContent, isPCData, toPCData
-
Constructor Details
-
UnmixedContent
-
-
Method Details
-
identify
-
getAltCount
public final int getAltCount()Description copied from class:TypedElement.MixedContent
Returns the number of different variants, NOT including "#PCDATA
" in the content model.- Specified by:
getAltCount
in classTypedElement.MixedContent<E extends TypedElement<E,
X>, X extends TypedExtension> - Returns:
- the number of different variants, NOT including "
#PCDATA
".
-