|
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 expected attribute. |
void |
decodeAttributeGeneric()
Parses expected generic attribute. |
void |
decodeAttributeGenericUndeclared()
Parses unexpected attribute. |
void |
decodeAttributeInvalidValue()
Parses expected attribute with schema-invalid value |
void |
decodeCharacters()
Decodes expected 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 |
decodeEndFragmentSelfContained()
Reads an end element part of self-contained fragments |
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 |
decodeStartFragmentSelfContained()
Reads EXI a self-contained start element |
void |
decodeXsiNil()
Reads xsi:nil from EXI stream. |
void |
decodeXsiNilDeviation()
|
void |
decodeXsiType()
Reads xsi:type from EXI stream. |
java.lang.String |
getAttributeLocalName()
Provides (last) attribute local-name |
java.lang.String |
getAttributePrefix()
Provides (last) attribute prefix |
java.lang.String |
getAttributeURI()
Provides (last) attribute namespace |
java.lang.String |
getAttributeValue()
Provides attribute value |
java.lang.String |
getCharacters()
Provides characters as well as significant/insignificant whitespace characters |
java.lang.String |
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 |
getElementPrefix()
Provides (last) element prefix |
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. |
EventType |
getNextEventType()
Reports the next available EXI event-type |
java.lang.String |
getNSPrefix()
Provides prefix of namespace declaration. |
java.lang.String |
getNSUri()
Provides URI of namespace declaration. |
java.lang.String |
getPIData()
Provides processing instructions data. |
java.lang.String |
getPITarget()
Provides processing instructions target. |
java.lang.String |
getScopeLocalName()
Provides current scope local-name. |
java.lang.String |
getScopeURI()
Provides current scope URI. |
boolean |
getXsiNil()
Provides xsi:nil value |
java.lang.String |
getXsiNilDeviation()
|
java.lang.String |
getXsiTypeName()
Provides xsi:type name |
java.lang.String |
getXsiTypeUri()
Provides xsi:ytpe namespace |
boolean |
hasNextEvent()
Reports whether an additional EXI event is available. |
void |
inspectEvent()
Sniffs EXI stream for reporting next event. |
void |
setInputStream(java.io.InputStream is,
boolean exiBodyOnly)
|
Method Detail |
---|
void setInputStream(java.io.InputStream is, boolean exiBodyOnly) throws EXIException
EXIException
boolean hasNextEvent()
EventType getNextEventType()
EventType
for next EXI eventvoid inspectEvent() throws EXIException
EXIException
void decodeStartDocument() throws EXIException
EXIException
void decodeEndDocument() throws EXIException
org.xml.sax.SAXException
EXIException
void decodeStartElement() throws org.xml.sax.SAXException, EXIException
Start element appearing as expected event.
org.xml.sax.SAXException
EXIException
void decodeStartElementGeneric() throws EXIException
Expected generic start element
EXIException
void decodeStartElementGenericUndeclared() throws EXIException
EXIException
void decodeStartFragmentSelfContained() throws EXIException
EXIException
void decodeEndElement() throws EXIException
EXIException
void decodeEndElementUndeclared() throws EXIException
EXIException
void decodeEndFragmentSelfContained() throws EXIException
EXIException
void decodeAttribute() throws EXIException
EXIException
void decodeAttributeInvalidValue() throws EXIException
EXIException
void decodeAttributeGeneric() throws EXIException
EXIException
void decodeAttributeGenericUndeclared() throws EXIException
EXIException
void decodeNamespaceDeclaration() throws EXIException
EXIException
void decodeXsiType() throws EXIException
EXIException
void decodeXsiNil() throws EXIException
EXIException
void decodeXsiNilDeviation() throws EXIException
EXIException
void decodeCharacters() throws EXIException
EXIException
void decodeCharactersGeneric() throws EXIException
EXIException
void decodeCharactersGenericUndeclared() throws EXIException
EXIException
void decodeDocType() throws EXIException
EXIException
void decodeEntityReference() throws EXIException
EXIException
void decodeComment() throws EXIException
EXIException
void decodeProcessingInstruction() throws EXIException
EXIException
java.lang.String getScopeURI()
String
for URIjava.lang.String getScopeLocalName()
String
for namejava.lang.String getElementURI()
String
for element URIjava.lang.String getElementLocalName()
String
for element namejava.lang.String getElementPrefix()
String
for element prefixjava.lang.String getAttributeURI()
String
for attribute URIjava.lang.String getAttributeLocalName()
String
for attribute namejava.lang.String getAttributePrefix()
String
for element prefixjava.lang.String getAttributeValue()
String
for attribute valuejava.lang.String getXsiTypeUri()
String
for type URIjava.lang.String getXsiTypeName()
String
for type nameboolean getXsiNil()
java.lang.String getXsiNilDeviation()
java.lang.String getCharacters()
String
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 namejava.lang.String getComment()
String
for comment textorg.xml.sax.helpers.NamespaceSupport getNamespaces()
NamespaceSupport
for prefix mappingjava.lang.String getNSUri()
String
for NS urijava.lang.String getNSPrefix()
String
for NS prefixjava.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 |