EXIficient

com.siemens.ct.exi.core
Class AbstractEXIDecoder

java.lang.Object
  extended by com.siemens.ct.exi.core.AbstractEXICoder
      extended by com.siemens.ct.exi.core.AbstractEXIDecoder
All Implemented Interfaces:
EXIDecoder
Direct Known Subclasses:
EXIDecoderInOrder

public abstract class AbstractEXIDecoder
extends AbstractEXICoder
implements EXIDecoder

TODO Description

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

Field Summary
 
Fields inherited from class com.siemens.ct.exi.core.AbstractEXICoder
INITIAL_STACK_SIZE
 
Constructor Summary
AbstractEXIDecoder(EXIFactory exiFactory)
           
 
Method Summary
 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.
 java.lang.String getPIData()
          Provides processing instructions data.
 java.lang.String getPITarget()
          Provides processing instructions target.
 
Methods inherited from class com.siemens.ct.exi.core.AbstractEXICoder
getNamespaces, 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
decodeAttribute, decodeAttributeAnyInvalidValue, decodeAttributeGeneric, decodeAttributeGenericUndeclared, decodeAttributeInvalidValue, decodeAttributeNS, decodeAttributeXsiNil, decodeAttributeXsiType, decodeCharacters, decodeCharactersGeneric, decodeCharactersGenericUndeclared, decodeComment, decodeDocType, decodeEndDocument, decodeEndElement, decodeEndElementUndeclared, decodeEntityReference, decodeNamespaceDeclaration, decodeProcessingInstruction, decodeStartDocument, decodeStartElement, decodeStartElementGeneric, decodeStartElementGenericUndeclared, decodeStartElementNS, getNamespaces, hasNext, next, setInputStream
 

Constructor Detail

AbstractEXIDecoder

public AbstractEXIDecoder(EXIFactory exiFactory)
Method Detail

getElementURI

public java.lang.String getElementURI()
Description copied from interface: EXIDecoder
Provides (last) element namespace.

Specified by:
getElementURI in interface EXIDecoder
Returns:
String for element URI

getElementLocalName

public java.lang.String getElementLocalName()
Description copied from interface: EXIDecoder
Provides (last) element local-name

Specified by:
getElementLocalName in interface EXIDecoder
Returns:
String for element name

getElementQName

public java.lang.String getElementQName()
Description copied from interface: EXIDecoder
Returns qualified name for element name

Specified by:
getElementQName in interface EXIDecoder
Returns:
String for qname

getAttributeURI

public java.lang.String getAttributeURI()
Description copied from interface: EXIDecoder
Provides (last) attribute namespace

Specified by:
getAttributeURI in interface EXIDecoder
Returns:
String for attribute URI

getAttributeLocalName

public java.lang.String getAttributeLocalName()
Description copied from interface: EXIDecoder
Provides (last) attribute local-name

Specified by:
getAttributeLocalName in interface EXIDecoder
Returns:
String for attribute name

getAttributeQName

public java.lang.String getAttributeQName()
Description copied from interface: EXIDecoder
Returns qualified name for (last) attribute

Specified by:
getAttributeQName in interface EXIDecoder
Returns:
String for qname

getAttributeValue

public java.lang.String getAttributeValue()
Description copied from interface: EXIDecoder
Provides attribute value

Specified by:
getAttributeValue in interface EXIDecoder
Returns:
String for attribute value

getCharacters

public char[] getCharacters()
Description copied from interface: EXIDecoder
Provides characters as well as significant/insignificant whitespace characters

Specified by:
getCharacters in interface EXIDecoder
Returns:
char[] for characters

getDocTypeName

public java.lang.String getDocTypeName()
Description copied from interface: EXIDecoder
Provides DOCTYPE name.

Specified by:
getDocTypeName in interface EXIDecoder
Returns:
String for DOCTYPE name

getDocTypePublicID

public java.lang.String getDocTypePublicID()
Description copied from interface: EXIDecoder
Provides DOCTYPE public ID.

Specified by:
getDocTypePublicID in interface EXIDecoder
Returns:
String for DOCTYPE public ID

getDocTypeSystemID

public java.lang.String getDocTypeSystemID()
Description copied from interface: EXIDecoder
Provides DOCTYPE system ID.

Specified by:
getDocTypeSystemID in interface EXIDecoder
Returns:
String for DOCTYPE system ID

getDocTypeText

public java.lang.String getDocTypeText()
Description copied from interface: EXIDecoder
Provides DOCTYPE text.

Specified by:
getDocTypeText in interface EXIDecoder
Returns:
String for DOCTYPE text

getEntityReferenceName

public java.lang.String getEntityReferenceName()
Description copied from interface: EXIDecoder
Provides ENTITY_REFERENCE name.

Specified by:
getEntityReferenceName in interface EXIDecoder
Returns:
String for DOCTYPE name

getComment

public char[] getComment()
Description copied from interface: EXIDecoder
Provides comment text.

Specified by:
getComment in interface EXIDecoder
Returns:
String for comment text

getPITarget

public java.lang.String getPITarget()
Description copied from interface: EXIDecoder
Provides processing instructions target.

Specified by:
getPITarget in interface EXIDecoder
Returns:
String for PI target

getPIData

public java.lang.String getPIData()
Description copied from interface: EXIDecoder
Provides processing instructions data.

Specified by:
getPIData in interface EXIDecoder
Returns:
String for PI data

decodeStartFragmentSelfContained

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

Specified by:
decodeStartFragmentSelfContained in interface EXIDecoder
Throws:
EXIException
java.io.IOException

EXIficient