org.codehaus.xfire.util.stax
Class FragmentStreamReader
java.lang.Object
org.codehaus.xfire.util.stax.DepthXMLStreamReader
org.codehaus.xfire.util.stax.FragmentStreamReader
public class FragmentStreamReader
- extends DepthXMLStreamReader
Wraps a XMLStreamReader and provides START_DOCUMENT and END_DOCUMENT events.
- Author:
- Dan Diephouse
Methods inherited from class org.codehaus.xfire.util.stax.DepthXMLStreamReader |
close, equals, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getDepth, getElementText, getEncoding, getLocalName, getLocation, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hashCode, hasName, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSet, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FragmentStreamReader
public FragmentStreamReader(XMLStreamReader reader)
getEventType
public int getEventType()
- Overrides:
getEventType
in class DepthXMLStreamReader
hasNext
public boolean hasNext()
throws XMLStreamException
- Overrides:
hasNext
in class DepthXMLStreamReader
- Throws:
XMLStreamException
next
public int next()
throws XMLStreamException
- Overrides:
next
in class DepthXMLStreamReader
- Throws:
XMLStreamException
isAdvanceAtEnd
public boolean isAdvanceAtEnd()
setAdvanceAtEnd
public void setAdvanceAtEnd(boolean advanceAtEnd)
- Set whether or not the FragmentStreamReader should move past the END_ELEMENT
when it is done parsing.
- Parameters:
advanceAtEnd
-
Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.