org.codehaus.activesoap.util
Class DocumentFilterXMLStreamReader

java.lang.Object
  extended byjavax.xml.stream.util.StreamReaderDelegate
      extended byorg.codehaus.activesoap.util.DocumentFilterXMLStreamReader
All Implemented Interfaces:
XMLStreamConstants, XMLStreamReader

public class DocumentFilterXMLStreamReader
extends StreamReaderDelegate
implements XMLStreamConstants

An StreamReaderDelegate which creates a logical sub-document from a stream until a certain close element is discovered - such as for making the contents of a SOAP body appear as a logical XML document.

Version:
$Revision: 1.6 $

Field Summary
 
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
 
Constructor Summary
DocumentFilterXMLStreamReader(QName name, XMLStreamReader in)
           
DocumentFilterXMLStreamReader(XMLStreamReader in)
           
 
Method Summary
 void disableStartDocumentEvent()
           
 int getEventType()
           
 boolean hasNext()
           
 int next()
           
 int nextTag()
           
 
Methods inherited from class javax.xml.stream.util.StreamReaderDelegate
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getElementText, getEncoding, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getParent, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, require, setParent, standaloneSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentFilterXMLStreamReader

public DocumentFilterXMLStreamReader(XMLStreamReader in)

DocumentFilterXMLStreamReader

public DocumentFilterXMLStreamReader(QName name,
                                     XMLStreamReader in)
Method Detail

disableStartDocumentEvent

public void disableStartDocumentEvent()

hasNext

public boolean hasNext()
                throws XMLStreamException
Specified by:
hasNext in interface XMLStreamReader
Throws:
XMLStreamException

next

public int next()
         throws XMLStreamException
Specified by:
next in interface XMLStreamReader
Throws:
XMLStreamException

nextTag

public int nextTag()
            throws XMLStreamException
Specified by:
nextTag in interface XMLStreamReader
Throws:
XMLStreamException

getEventType

public int getEventType()
Specified by:
getEventType in interface XMLStreamReader


Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.