Package org.apache.cxf.staxutils
Class DepthXMLStreamReader
- java.lang.Object
- 
- org.apache.cxf.staxutils.DepthXMLStreamReader
 
- 
- All Implemented Interfaces:
- XMLStreamConstants,- XMLStreamReader
 - Direct Known Subclasses:
- DepthRestrictingStreamReader,- FragmentStreamReader,- InTransformReader,- PartialXMLStreamReader
 
 public class DepthXMLStreamReader extends Object implements XMLStreamReader 
- 
- 
Field SummaryFields Modifier and Type Field Description protected XMLStreamReaderreader- 
Fields inherited from interface javax.xml.stream.XMLStreamConstantsATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
- 
 - 
Constructor SummaryConstructors Constructor Description DepthXMLStreamReader(XMLStreamReader r)
 - 
Method Summary
 
- 
- 
- 
Field Detail- 
readerprotected XMLStreamReader reader 
 
- 
 - 
Constructor Detail- 
DepthXMLStreamReaderpublic DepthXMLStreamReader(XMLStreamReader r) 
 
- 
 - 
Method Detail- 
getReaderpublic XMLStreamReader getReader() 
 - 
getDepthpublic int getDepth() 
 - 
closepublic void close() throws XMLStreamException- Specified by:
- closein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getAttributeCountpublic int getAttributeCount() - Specified by:
- getAttributeCountin interface- XMLStreamReader
 
 - 
getAttributeLocalNamepublic String getAttributeLocalName(int arg0) - Specified by:
- getAttributeLocalNamein interface- XMLStreamReader
 
 - 
getAttributeNamepublic QName getAttributeName(int arg0) - Specified by:
- getAttributeNamein interface- XMLStreamReader
 
 - 
getAttributeNamespacepublic String getAttributeNamespace(int arg0) - Specified by:
- getAttributeNamespacein interface- XMLStreamReader
 
 - 
getAttributePrefixpublic String getAttributePrefix(int arg0) - Specified by:
- getAttributePrefixin interface- XMLStreamReader
 
 - 
getAttributeTypepublic String getAttributeType(int arg0) - Specified by:
- getAttributeTypein interface- XMLStreamReader
 
 - 
getAttributeValuepublic String getAttributeValue(int arg0) - Specified by:
- getAttributeValuein interface- XMLStreamReader
 
 - 
getAttributeValuepublic String getAttributeValue(String namespace, String localName) - Specified by:
- getAttributeValuein interface- XMLStreamReader
 
 - 
getCharacterEncodingSchemepublic String getCharacterEncodingScheme() - Specified by:
- getCharacterEncodingSchemein interface- XMLStreamReader
 
 - 
getElementTextpublic String getElementText() throws XMLStreamException - Specified by:
- getElementTextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getEncodingpublic String getEncoding() - Specified by:
- getEncodingin interface- XMLStreamReader
 
 - 
getEventTypepublic int getEventType() - Specified by:
- getEventTypein interface- XMLStreamReader
 
 - 
getLocalNamepublic String getLocalName() - Specified by:
- getLocalNamein interface- XMLStreamReader
 
 - 
getLocationpublic Location getLocation() - Specified by:
- getLocationin interface- XMLStreamReader
 
 - 
getNamepublic QName getName() - Specified by:
- getNamein interface- XMLStreamReader
 
 - 
getNamespaceContextpublic NamespaceContext getNamespaceContext() - Specified by:
- getNamespaceContextin interface- XMLStreamReader
 
 - 
getNamespaceCountpublic int getNamespaceCount() - Specified by:
- getNamespaceCountin interface- XMLStreamReader
 
 - 
getNamespacePrefixpublic String getNamespacePrefix(int arg0) - Specified by:
- getNamespacePrefixin interface- XMLStreamReader
 
 - 
getNamespaceURIpublic String getNamespaceURI() - Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
 - 
getNamespaceURIpublic String getNamespaceURI(int arg0) - Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
 - 
getNamespaceURIpublic String getNamespaceURI(String arg0) - Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
 - 
getPIDatapublic String getPIData() - Specified by:
- getPIDatain interface- XMLStreamReader
 
 - 
getPITargetpublic String getPITarget() - Specified by:
- getPITargetin interface- XMLStreamReader
 
 - 
getPrefixpublic String getPrefix() - Specified by:
- getPrefixin interface- XMLStreamReader
 
 - 
getPropertypublic Object getProperty(String name) - Specified by:
- getPropertyin interface- XMLStreamReader
 
 - 
getTextpublic String getText() - Specified by:
- getTextin interface- XMLStreamReader
 
 - 
getTextCharacterspublic char[] getTextCharacters() - Specified by:
- getTextCharactersin interface- XMLStreamReader
 
 - 
getTextCharacterspublic int getTextCharacters(int arg0, char[] arg1, int arg2, int arg3) throws XMLStreamException- Specified by:
- getTextCharactersin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getTextLengthpublic int getTextLength() - Specified by:
- getTextLengthin interface- XMLStreamReader
 
 - 
getTextStartpublic int getTextStart() - Specified by:
- getTextStartin interface- XMLStreamReader
 
 - 
getVersionpublic String getVersion() - Specified by:
- getVersionin interface- XMLStreamReader
 
 - 
hasNamepublic boolean hasName() - Specified by:
- hasNamein interface- XMLStreamReader
 
 - 
hasNextpublic boolean hasNext() throws XMLStreamException- Specified by:
- hasNextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
hasTextpublic boolean hasText() - Specified by:
- hasTextin interface- XMLStreamReader
 
 - 
isAttributeSpecifiedpublic boolean isAttributeSpecified(int arg0) - Specified by:
- isAttributeSpecifiedin interface- XMLStreamReader
 
 - 
isCharacterspublic boolean isCharacters() - Specified by:
- isCharactersin interface- XMLStreamReader
 
 - 
isEndElementpublic boolean isEndElement() - Specified by:
- isEndElementin interface- XMLStreamReader
 
 - 
isStandalonepublic boolean isStandalone() - Specified by:
- isStandalonein interface- XMLStreamReader
 
 - 
isStartElementpublic boolean isStartElement() - Specified by:
- isStartElementin interface- XMLStreamReader
 
 - 
isWhiteSpacepublic boolean isWhiteSpace() - Specified by:
- isWhiteSpacein interface- XMLStreamReader
 
 - 
nextpublic int next() throws XMLStreamException- Specified by:
- nextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
nextTagpublic int nextTag() throws XMLStreamException- Specified by:
- nextTagin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
requirepublic void require(int arg0, String arg1, String arg2) throws XMLStreamException- Specified by:
- requirein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
standaloneSetpublic boolean standaloneSet() - Specified by:
- standaloneSetin interface- XMLStreamReader
 
 
- 
 
-