EXIficient

com.siemens.ct.exi.core
Class EXIDecoderReordered

java.lang.Object
  extended by com.siemens.ct.exi.core.AbstractEXICoder
      extended by com.siemens.ct.exi.core.AbstractEXIDecoder
          extended by com.siemens.ct.exi.core.EXIDecoderReordered
All Implemented Interfaces:
EXIDecoder

public class EXIDecoderReordered
extends AbstractEXIDecoder

TODO Description

Version:
0.3.20090414
Author:
Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com

Constructor Summary
EXIDecoderReordered(EXIFactory exiFactory)
           
 
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.
 EventType getNextEventType()
          Reports the next available EXI event-type
 boolean hasNextEvent()
          Reports whether an additional EXI event is available.
 void inspectEvent()
          Sniffs EXI stream for reporting next event.
 
Methods inherited from class com.siemens.ct.exi.core.AbstractEXIDecoder
getAttributeLocalName, getAttributePrefix, getAttributeURI, getAttributeValue, getCharacters, getComment, getDocTypeName, getDocTypePublicID, getDocTypeSystemID, getDocTypeText, getElementLocalName, getElementPrefix, getElementURI, getEntityReferenceName, getNSPrefix, getNSUri, getPIData, getPITarget, getXsiNil, getXsiNilDeviation, getXsiTypeName, getXsiTypeUri, setInputStream
 
Methods inherited from class com.siemens.ct.exi.core.AbstractEXICoder
getNamespaces, getScopeLocalName, getScopeURI, setErrorHandler
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.siemens.ct.exi.EXIDecoder
getNamespaces, getScopeLocalName, getScopeURI
 

Constructor Detail

EXIDecoderReordered

public EXIDecoderReordered(EXIFactory exiFactory)
Method Detail

inspectEvent

public void inspectEvent()
                  throws EXIException
Description copied from interface: EXIDecoder
Sniffs EXI stream for reporting next event.

Throws:
EXIException

hasNextEvent

public boolean hasNextEvent()
Description copied from interface: EXIDecoder
Reports whether an additional EXI event is available.

Returns:
true if the stream has more events.

getNextEventType

public EventType getNextEventType()
Description copied from interface: EXIDecoder
Reports the next available EXI event-type

Returns:
EventType for next EXI event

decodeStartDocument

public void decodeStartDocument()
                         throws EXIException
Description copied from interface: EXIDecoder
Initializes the beginning of a set of XML events

Throws:
EXIException

decodeStartElement

public void decodeStartElement()
                        throws EXIException
Description copied from interface: EXIDecoder
Reads EXI start element.

Start element appearing as expected event.

Throws:
EXIException

decodeStartElementGeneric

public void decodeStartElementGeneric()
                               throws EXIException
Description copied from interface: EXIDecoder
Reads generic start element.

Expected generic start element

Throws:
EXIException

decodeStartElementGenericUndeclared

public void decodeStartElementGenericUndeclared()
                                         throws EXIException
Description copied from interface: EXIDecoder
Parses unexpected start element.

Throws:
EXIException

decodeNamespaceDeclaration

public void decodeNamespaceDeclaration()
                                throws EXIException
Description copied from interface: EXIDecoder
Parses namespace declaration retrieving associated URI and prefix.

Throws:
EXIException

decodeAttribute

public void decodeAttribute()
                     throws EXIException
Description copied from interface: EXIDecoder
Parses expected attribute.

Throws:
EXIException

decodeAttributeInvalidValue

public void decodeAttributeInvalidValue()
                                 throws EXIException
Description copied from interface: EXIDecoder
Parses expected attribute with schema-invalid value

Throws:
EXIException

decodeAttributeGeneric

public void decodeAttributeGeneric()
                            throws EXIException
Description copied from interface: EXIDecoder
Parses expected generic attribute.

Throws:
EXIException

decodeAttributeGenericUndeclared

public void decodeAttributeGenericUndeclared()
                                      throws EXIException
Description copied from interface: EXIDecoder
Parses unexpected attribute.

Throws:
EXIException

decodeXsiType

public void decodeXsiType()
                   throws EXIException
Description copied from interface: EXIDecoder
Reads xsi:type from EXI stream.

Throws:
EXIException

decodeXsiNil

public void decodeXsiNil()
                  throws EXIException
Description copied from interface: EXIDecoder
Reads xsi:nil from EXI stream.

Throws:
EXIException

decodeXsiNilDeviation

public void decodeXsiNilDeviation()
                           throws EXIException
Throws:
EXIException

decodeCharacters

public void decodeCharacters()
                      throws EXIException
Description copied from interface: EXIDecoder
Decodes expected characters.

Throws:
EXIException

decodeCharactersGeneric

public void decodeCharactersGeneric()
                             throws EXIException
Description copied from interface: EXIDecoder
Decodes generic characters.

Throws:
EXIException

decodeCharactersGenericUndeclared

public void decodeCharactersGenericUndeclared()
                                       throws EXIException
Description copied from interface: EXIDecoder
Decodes unexpected (generic) characters.

Throws:
EXIException

decodeEndElement

public void decodeEndElement()
                      throws EXIException
Description copied from interface: EXIDecoder
Reads EXI end element.

Throws:
EXIException

decodeEndElementUndeclared

public void decodeEndElementUndeclared()
                                throws EXIException
Description copied from interface: EXIDecoder
Reads unexpected EXI end element.

Throws:
EXIException

decodeEndDocument

public void decodeEndDocument()
                       throws EXIException
Description copied from interface: EXIDecoder
Finalizes the end of a set of XML events

Throws:
EXIException

decodeDocType

public void decodeDocType()
                   throws EXIException
Description copied from interface: EXIDecoder
Parses DOCTYPE with information items

Throws:
EXIException

decodeEntityReference

public void decodeEntityReference()
                           throws EXIException
Description copied from interface: EXIDecoder
Parses EntityReference

Throws:
EXIException

decodeComment

public void decodeComment()
                   throws EXIException
Description copied from interface: EXIDecoder
Parses comment with associated characters.

Throws:
EXIException

decodeProcessingInstruction

public void decodeProcessingInstruction()
                                 throws EXIException
Description copied from interface: EXIDecoder
Parses processing instruction with associated target and data.

Throws:
EXIException

decodeStartFragmentSelfContained

public void decodeStartFragmentSelfContained()
                                      throws EXIException
Description copied from interface: EXIDecoder
Reads EXI a self-contained start element

Throws:
EXIException

decodeEndFragmentSelfContained

public void decodeEndFragmentSelfContained()
                                    throws EXIException
Description copied from interface: EXIDecoder
Reads an end element part of self-contained fragments

Throws:
EXIException

EXIficient