public abstract static class TypedElement.MixedContentFactory<C extends TypedElement.MixedContent<E,X>,E extends TypedElement<E,X>,X extends TypedExtension,Y extends Exception> extends Object
Constructor and Description |
---|
MixedContentFactory(boolean namespaced) |
Modifier and Type | Method and Description |
---|---|
protected abstract C |
createContent(int altIndex,
TypedElement<E,X> element) |
protected abstract C |
createContent(String pcdata) |
int |
getAltIndex(NamespaceName name) |
int |
getAltIndex(SAXEventStream in) |
int |
getAltIndex(String tagName) |
abstract TypedContent.DecodingConstructor<?,X,Y> |
getDecodeClosure(int altIndex) |
abstract TypedContent.ParsingConstructor<?,E,X,Y> |
getParseClosure(int altIndex) |
protected void |
mapAlt(NamespaceName name,
int altIndex) |
protected void |
mapAlt(String tagName,
int altIndex) |
protected final void mapAlt(String tagName, int altIndex)
protected final void mapAlt(NamespaceName name, int altIndex)
public int getAltIndex(SAXEventStream in) throws TdomContentException
TdomContentException
public int getAltIndex(String tagName) throws TdomContentException
TdomContentException
public int getAltIndex(NamespaceName name) throws TdomContentException
TdomContentException
public abstract TypedContent.ParsingConstructor<?,E,X,Y> getParseClosure(int altIndex)
public abstract TypedContent.DecodingConstructor<?,X,Y> getDecodeClosure(int altIndex)
protected abstract C createContent(int altIndex, TypedElement<E,X> element)
see also the complete user documentation .