|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EXIDecoder
Internal EXI Decoder interface to transform an EXI stream back to XML Infoset entities.
Method Summary | |
---|---|
void |
decodeAttribute()
Parses attribute |
void |
decodeAttributeAnyInvalidValue()
Parses expected attribute with schema-invalid value (NO qname given) |
void |
decodeAttributeGeneric()
Parses expected generic attribute. |
void |
decodeAttributeGenericUndeclared()
Parses unexpected attribute. |
void |
decodeAttributeInvalidValue()
Parses expected attribute with schema-invalid value (qname given) |
void |
decodeAttributeNS()
Parses expected attribute with given namespaceURI |
void |
decodeAttributeXsiNil()
Parses xsi:nil attribute |
void |
decodeAttributeXsiType()
Parses xsi:type attribute |
void |
decodeCharacters()
Decodes characters |
void |
decodeCharactersGeneric()
Decodes generic characters. |
void |
decodeCharactersGenericUndeclared()
Decodes unexpected (generic) characters. |
void |
decodeComment()
Parses comment with associated characters. |
void |
decodeDocType()
Parses DOCTYPE with information items |
void |
decodeEndDocument()
Finalizes the end of a set of XML events |
void |
decodeEndElement()
Reads EXI end element |
void |
decodeEndElementUndeclared()
Reads unexpected EXI end element. |
void |
decodeEntityReference()
Parses EntityReference |
void |
decodeNamespaceDeclaration()
Parses namespace declaration retrieving associated URI and prefix. |
void |
decodeProcessingInstruction()
Parses processing instruction with associated target and data. |
void |
decodeStartDocument()
Initializes the beginning of a set of XML events |
void |
decodeStartElement()
Reads EXI start element. |
void |
decodeStartElementGeneric()
Reads generic start element. |
void |
decodeStartElementGenericUndeclared()
Parses unexpected start element. |
void |
decodeStartElementNS()
Reads start element where only the URI is known. |
void |
decodeStartFragmentSelfContained()
Reads EXI a self-contained start element |
java.lang.String |
getAttributeLocalName()
Provides (last) attribute local-name |
java.lang.String |
getAttributeQName()
Returns qualified name for (last) attribute |
java.lang.String |
getAttributeURI()
Provides (last) attribute namespace |
java.lang.String |
getAttributeValue()
Provides attribute value |
char[] |
getCharacters()
Provides characters as well as significant/insignificant whitespace characters |
char[] |
getComment()
Provides comment text. |
java.lang.String |
getDocTypeName()
Provides DOCTYPE name. |
java.lang.String |
getDocTypePublicID()
Provides DOCTYPE public ID. |
java.lang.String |
getDocTypeSystemID()
Provides DOCTYPE system ID. |
java.lang.String |
getDocTypeText()
Provides DOCTYPE text. |
java.lang.String |
getElementLocalName()
Provides (last) element local-name |
java.lang.String |
getElementQName()
Returns qualified name for element name |
java.lang.String |
getElementURI()
Provides (last) element namespace. |
java.lang.String |
getEntityReferenceName()
Provides ENTITY_REFERENCE name. |
org.xml.sax.helpers.NamespaceSupport |
getNamespaces()
Provides namespace support. |
java.lang.String |
getPIData()
Provides processing instructions data. |
java.lang.String |
getPITarget()
Provides processing instructions target. |
boolean |
hasNext()
Reports whether an additional EXI event is available. |
EventType |
next()
Reports the next available EXI event-type |
void |
setInputStream(java.io.InputStream is,
boolean exiBodyOnly)
|
Method Detail |
---|
void setInputStream(java.io.InputStream is, boolean exiBodyOnly) throws EXIException, java.io.IOException
EXIException
java.io.IOException
boolean hasNext() throws EXIException, java.io.IOException
EXIException
java.io.IOException
EventType next() throws EXIException
EventType
for next EXI event
EXIException
void decodeStartDocument() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeEndDocument() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeStartElement() throws EXIException, java.io.IOException
Start element appearing as expected event.
EXIException
java.io.IOException
void decodeStartElementNS() throws EXIException, java.io.IOException
Expected start element with given namespaceURI
EXIException
java.io.IOException
void decodeStartElementGeneric() throws EXIException, java.io.IOException
Expected generic start element
EXIException
java.io.IOException
void decodeStartElementGenericUndeclared() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeStartFragmentSelfContained() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeEndElement() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeEndElementUndeclared() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttributeXsiNil() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttributeXsiType() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttribute() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttributeNS() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttributeInvalidValue() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttributeAnyInvalidValue() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttributeGeneric() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeAttributeGenericUndeclared() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeNamespaceDeclaration() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeCharacters() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeCharactersGeneric() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeCharactersGenericUndeclared() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeDocType() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeEntityReference() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeComment() throws EXIException, java.io.IOException
EXIException
java.io.IOException
void decodeProcessingInstruction() throws EXIException, java.io.IOException
EXIException
java.io.IOException
java.lang.String getElementURI()
String
for element URIjava.lang.String getElementLocalName()
String
for element namejava.lang.String getElementQName()
String
for qnamejava.lang.String getAttributeURI()
String
for attribute URIjava.lang.String getAttributeLocalName()
String
for attribute namejava.lang.String getAttributeQName()
String
for qnamejava.lang.String getAttributeValue()
String
for attribute valuechar[] getCharacters()
char[]
for charactersjava.lang.String getDocTypeName()
String
for DOCTYPE namejava.lang.String getDocTypePublicID()
String
for DOCTYPE public IDjava.lang.String getDocTypeSystemID()
String
for DOCTYPE system IDjava.lang.String getDocTypeText()
String
for DOCTYPE textjava.lang.String getEntityReferenceName()
String
for DOCTYPE namechar[] getComment()
String
for comment textorg.xml.sax.helpers.NamespaceSupport getNamespaces()
NamespaceSupport
for prefix mappingjava.lang.String getPITarget()
String
for PI targetjava.lang.String getPIData()
String
for PI data
|
EXIficient | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |