Package org.apache.cxf.staxutils
Class AutoCloseableXMLStreamReader
java.lang.Object
org.apache.cxf.staxutils.AutoCloseableXMLStreamReader
- All Implemented Interfaces:
- AutoCloseable,- XMLStreamConstants,- XMLStreamReader
- 
Field SummaryFields 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 SummaryModifier and TypeMethodDescriptionvoidclose()intgetAttributeLocalName(int index) getAttributeName(int index) getAttributeNamespace(int index) getAttributePrefix(int index) getAttributeType(int index) getAttributeValue(int index) getAttributeValue(String namespaceURI, String localName) intgetName()intgetNamespacePrefix(int index) getNamespaceURI(int index) getNamespaceURI(String prefix) getProperty(String name) getText()char[]intgetTextCharacters(int sourceStart, char[] target, int targetStart, int length) intintbooleanhasName()booleanhasNext()booleanhasText()booleanisAttributeSpecified(int index) booleanbooleanbooleanbooleanbooleanintnext()intnextTag()voidboolean
- 
Method Details- 
close- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
getProperty- Specified by:
- getPropertyin interface- XMLStreamReader
- Throws:
- IllegalArgumentException
 
- 
next- Specified by:
- nextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
require- Specified by:
- requirein interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
getElementText- Specified by:
- getElementTextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
nextTag- Specified by:
- nextTagin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
hasNext- Specified by:
- hasNextin interface- XMLStreamReader
- Throws:
- XMLStreamException
 
- 
getNamespaceURI- 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
 
- 
getAttributeValue- Specified by:
- getAttributeValuein interface- XMLStreamReader
 
- 
getAttributeCountpublic int getAttributeCount()- Specified by:
- getAttributeCountin interface- XMLStreamReader
 
- 
getAttributeName- Specified by:
- getAttributeNamein interface- XMLStreamReader
 
- 
getAttributeNamespace- Specified by:
- getAttributeNamespacein interface- XMLStreamReader
 
- 
getAttributeLocalName- Specified by:
- getAttributeLocalNamein interface- XMLStreamReader
 
- 
getAttributePrefix- Specified by:
- getAttributePrefixin interface- XMLStreamReader
 
- 
getAttributeType- Specified by:
- getAttributeTypein interface- XMLStreamReader
 
- 
getAttributeValue- Specified by:
- getAttributeValuein interface- XMLStreamReader
 
- 
isAttributeSpecifiedpublic boolean isAttributeSpecified(int index) - Specified by:
- isAttributeSpecifiedin interface- XMLStreamReader
 
- 
getNamespaceCountpublic int getNamespaceCount()- Specified by:
- getNamespaceCountin interface- XMLStreamReader
 
- 
getNamespacePrefix- Specified by:
- getNamespacePrefixin interface- XMLStreamReader
 
- 
getNamespaceURI- Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
- 
getNamespaceContext- Specified by:
- getNamespaceContextin interface- XMLStreamReader
 
- 
getEventTypepublic int getEventType()- Specified by:
- getEventTypein interface- XMLStreamReader
 
- 
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
 
- 
getEncoding- Specified by:
- getEncodingin interface- XMLStreamReader
 
- 
hasTextpublic boolean hasText()- Specified by:
- hasTextin interface- XMLStreamReader
 
- 
getLocation- Specified by:
- getLocationin interface- XMLStreamReader
 
- 
getName- Specified by:
- getNamein interface- XMLStreamReader
 
- 
getLocalName- Specified by:
- getLocalNamein interface- XMLStreamReader
 
- 
hasNamepublic boolean hasName()- Specified by:
- hasNamein interface- XMLStreamReader
 
- 
getNamespaceURI- Specified by:
- getNamespaceURIin interface- XMLStreamReader
 
- 
getPrefix- Specified by:
- getPrefixin interface- XMLStreamReader
 
- 
getVersion- Specified by:
- getVersionin interface- XMLStreamReader
 
- 
isStandalonepublic boolean isStandalone()- Specified by:
- isStandalonein interface- XMLStreamReader
 
- 
standaloneSetpublic boolean standaloneSet()- Specified by:
- standaloneSetin interface- XMLStreamReader
 
- 
getCharacterEncodingScheme- Specified by:
- getCharacterEncodingSchemein interface- XMLStreamReader
 
- 
getPITarget- Specified by:
- getPITargetin interface- XMLStreamReader
 
- 
getPIData- Specified by:
- getPIDatain interface- XMLStreamReader
 
 
-