Package org.apache.cxf.staxutils
Class AutoCloseableXMLStreamReader
- java.lang.Object
- 
- org.apache.cxf.staxutils.AutoCloseableXMLStreamReader
 
- 
- All Implemented Interfaces:
- AutoCloseable,- XMLStreamConstants,- XMLStreamReader
 
 public class AutoCloseableXMLStreamReader extends Object implements XMLStreamReader, AutoCloseable 
- 
- 
Field Summary- 
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
 
- 
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
closepublic void close() throws XMLStreamException- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getPropertypublic Object getProperty(String name) throws IllegalArgumentException - Specified by:
- getPropertyin interface- XMLStreamReader
- Throws:
- IllegalArgumentException
 
 - 
nextpublic int next() throws XMLStreamException- Specified by:
- nextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
requirepublic void require(int type, String namespaceURI, String localName) throws XMLStreamException- Specified by:
- requirein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getElementTextpublic String getElementText() throws XMLStreamException - Specified by:
- getElementTextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
nextTagpublic int nextTag() throws XMLStreamException- Specified by:
- nextTagin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
hasNextpublic boolean hasNext() throws XMLStreamException- Specified by:
- hasNextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getNamespaceURIpublic String getNamespaceURI(String prefix) - Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
 - 
isStartElementpublic boolean isStartElement() - Specified by:
- isStartElementin interface- XMLStreamReader
 
 - 
isEndElementpublic boolean isEndElement() - Specified by:
- isEndElementin interface- XMLStreamReader
 
 - 
isCharacterspublic boolean isCharacters() - Specified by:
- isCharactersin interface- XMLStreamReader
 
 - 
isWhiteSpacepublic boolean isWhiteSpace() - Specified by:
- isWhiteSpacein interface- XMLStreamReader
 
 - 
getAttributeValuepublic String getAttributeValue(String namespaceURI, String localName) - Specified by:
- getAttributeValuein interface- XMLStreamReader
 
 - 
getAttributeCountpublic int getAttributeCount() - Specified by:
- getAttributeCountin interface- XMLStreamReader
 
 - 
getAttributeNamepublic QName getAttributeName(int index) - Specified by:
- getAttributeNamein interface- XMLStreamReader
 
 - 
getAttributeNamespacepublic String getAttributeNamespace(int index) - Specified by:
- getAttributeNamespacein interface- XMLStreamReader
 
 - 
getAttributeLocalNamepublic String getAttributeLocalName(int index) - Specified by:
- getAttributeLocalNamein interface- XMLStreamReader
 
 - 
getAttributePrefixpublic String getAttributePrefix(int index) - Specified by:
- getAttributePrefixin interface- XMLStreamReader
 
 - 
getAttributeTypepublic String getAttributeType(int index) - Specified by:
- getAttributeTypein interface- XMLStreamReader
 
 - 
getAttributeValuepublic String getAttributeValue(int index) - Specified by:
- getAttributeValuein interface- XMLStreamReader
 
 - 
isAttributeSpecifiedpublic boolean isAttributeSpecified(int index) - Specified by:
- isAttributeSpecifiedin interface- XMLStreamReader
 
 - 
getNamespaceCountpublic int getNamespaceCount() - Specified by:
- getNamespaceCountin interface- XMLStreamReader
 
 - 
getNamespacePrefixpublic String getNamespacePrefix(int index) - Specified by:
- getNamespacePrefixin interface- XMLStreamReader
 
 - 
getNamespaceURIpublic String getNamespaceURI(int index) - Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
 - 
getNamespaceContextpublic NamespaceContext getNamespaceContext() - Specified by:
- getNamespaceContextin interface- XMLStreamReader
 
 - 
getEventTypepublic int getEventType() - Specified by:
- getEventTypein interface- XMLStreamReader
 
 - 
getTextpublic String getText() - Specified by:
- getTextin interface- XMLStreamReader
 
 - 
getTextCharacterspublic char[] getTextCharacters() - Specified by:
- getTextCharactersin interface- XMLStreamReader
 
 - 
getTextCharacterspublic int getTextCharacters(int sourceStart, char[] target, int targetStart, int length) throws XMLStreamException- Specified by:
- getTextCharactersin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
 - 
getTextStartpublic int getTextStart() - Specified by:
- getTextStartin interface- XMLStreamReader
 
 - 
getTextLengthpublic int getTextLength() - Specified by:
- getTextLengthin interface- XMLStreamReader
 
 - 
getEncodingpublic String getEncoding() - Specified by:
- getEncodingin interface- XMLStreamReader
 
 - 
hasTextpublic boolean hasText() - Specified by:
- hasTextin interface- XMLStreamReader
 
 - 
getLocationpublic Location getLocation() - Specified by:
- getLocationin interface- XMLStreamReader
 
 - 
getNamepublic QName getName() - Specified by:
- getNamein interface- XMLStreamReader
 
 - 
getLocalNamepublic String getLocalName() - Specified by:
- getLocalNamein interface- XMLStreamReader
 
 - 
hasNamepublic boolean hasName() - Specified by:
- hasNamein interface- XMLStreamReader
 
 - 
getNamespaceURIpublic String getNamespaceURI() - Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
 - 
getPrefixpublic String getPrefix() - Specified by:
- getPrefixin interface- XMLStreamReader
 
 - 
getVersionpublic String getVersion() - Specified by:
- getVersionin interface- XMLStreamReader
 
 - 
isStandalonepublic boolean isStandalone() - Specified by:
- isStandalonein interface- XMLStreamReader
 
 - 
standaloneSetpublic boolean standaloneSet() - Specified by:
- standaloneSetin interface- XMLStreamReader
 
 - 
getCharacterEncodingSchemepublic String getCharacterEncodingScheme() - Specified by:
- getCharacterEncodingSchemein interface- XMLStreamReader
 
 - 
getPITargetpublic String getPITarget() - Specified by:
- getPITargetin interface- XMLStreamReader
 
 - 
getPIDatapublic String getPIData() - Specified by:
- getPIDatain interface- XMLStreamReader
 
 
- 
 
-