org.apache.tuscany.sca.contribution.processor.xml
Interface XMLFragmentStreamReader

All Superinterfaces:
javax.xml.stream.XMLStreamConstants, javax.xml.stream.XMLStreamReader

public interface XMLFragmentStreamReader
extends javax.xml.stream.XMLStreamReader


Field Summary
static java.lang.String ELEMENT_TEXT
          this will help to handle Text within the current element.
static javax.xml.namespace.QName NIL_QNAME
           
static java.lang.String NIL_VALUE_TRUE
           
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
Method Summary
 void init()
          Initiate the parser - this will do whatever the needed tasks to initiate the parser and must be called before attempting any specific parsing using this parser
 boolean isDone()
          Extra method to query the state of the pullparser
 void setParentNamespaceContext(javax.xml.namespace.NamespaceContext nsContext)
          add the parent namespace context to this parser
 
Methods inherited from interface javax.xml.stream.XMLStreamReader
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, next, nextTag, require, standaloneSet
 

Field Detail

NIL_QNAME

static final javax.xml.namespace.QName NIL_QNAME

NIL_VALUE_TRUE

static final java.lang.String NIL_VALUE_TRUE
See Also:
Constant Field Values

ELEMENT_TEXT

static final java.lang.String ELEMENT_TEXT
this will help to handle Text within the current element. user should pass the element text to the property list as this ELEMENT_TEXT as the key. This key deliberately has a space in it so that it is not a valid XML name

See Also:
Constant Field Values
Method Detail

isDone

boolean isDone()
Extra method to query the state of the pullparser


setParentNamespaceContext

void setParentNamespaceContext(javax.xml.namespace.NamespaceContext nsContext)
add the parent namespace context to this parser


init

void init()
Initiate the parser - this will do whatever the needed tasks to initiate the parser and must be called before attempting any specific parsing using this parser