Package org.apache.axiom.util.stax
Class AbstractXMLStreamReader
- java.lang.Object
-
- org.apache.axiom.util.stax.AbstractXMLStreamReader
-
- All Implemented Interfaces:
XMLStreamConstants
,XMLStreamReader
public abstract class AbstractXMLStreamReader extends Object implements XMLStreamReader
Deprecated.This class is no longer maintained.Partial implementation of theXMLStreamReader
interface. This class implements methods that can be easily expressed in terms of other (abstract) methods or for which it makes sense to provide a default implementation.
-
-
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
Constructors Constructor Description AbstractXMLStreamReader()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getElementText()
Deprecated.Location
getLocation()
Deprecated.boolean
hasName()
Deprecated.boolean
hasText()
Deprecated.boolean
isCharacters()
Deprecated.boolean
isEndElement()
Deprecated.boolean
isStartElement()
Deprecated.boolean
isWhiteSpace()
Deprecated.int
nextTag()
Deprecated.Returns the next tag.void
require(int type, String uri, String localName)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.xml.stream.XMLStreamReader
close, getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getEncoding, getEventType, getLocalName, getName, getNamespaceContext, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getText, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasNext, isAttributeSpecified, isStandalone, next, standaloneSet
-
-
-
-
Method Detail
-
getLocation
public Location getLocation()
Deprecated.- Specified by:
getLocation
in interfaceXMLStreamReader
-
hasText
public boolean hasText()
Deprecated.- Specified by:
hasText
in interfaceXMLStreamReader
- Returns:
- Returns boolean.
- See Also:
XMLStreamReader.hasText()
-
nextTag
public int nextTag() throws XMLStreamException
Deprecated.Returns the next tag.- Specified by:
nextTag
in interfaceXMLStreamReader
- Returns:
- Returns int.
- Throws:
XMLStreamException
-
isStartElement
public boolean isStartElement()
Deprecated.- Specified by:
isStartElement
in interfaceXMLStreamReader
-
isEndElement
public boolean isEndElement()
Deprecated.- Specified by:
isEndElement
in interfaceXMLStreamReader
-
isCharacters
public boolean isCharacters()
Deprecated.- Specified by:
isCharacters
in interfaceXMLStreamReader
-
isWhiteSpace
public boolean isWhiteSpace()
Deprecated.- Specified by:
isWhiteSpace
in interfaceXMLStreamReader
-
hasName
public boolean hasName()
Deprecated.- Specified by:
hasName
in interfaceXMLStreamReader
-
require
public void require(int type, String uri, String localName) throws XMLStreamException
Deprecated.- Specified by:
require
in interfaceXMLStreamReader
- Throws:
XMLStreamException
-
getElementText
public String getElementText() throws XMLStreamException
Deprecated.- Specified by:
getElementText
in interfaceXMLStreamReader
- Throws:
XMLStreamException
-
-