org.codehaus.xfire.xmpp
Class XmlPullStreamReader
java.lang.Object
org.codehaus.xfire.xmpp.XmlPullStreamReader
public class XmlPullStreamReader
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlPullStreamReader
public XmlPullStreamReader(XmlPullParser parser)
close
public void close()
throws XMLStreamException
- Throws:
XMLStreamException
getAttributeCount
public int getAttributeCount()
getAttributeLocalName
public java.lang.String getAttributeLocalName(int index)
getAttributeName
public javax.xml.namespace.QName getAttributeName(int index)
getAttributeNamespace
public java.lang.String getAttributeNamespace(int index)
getAttributePrefix
public java.lang.String getAttributePrefix(int index)
getAttributeType
public java.lang.String getAttributeType(int index)
getAttributeValue
public java.lang.String getAttributeValue(int index)
getAttributeValue
public java.lang.String getAttributeValue(java.lang.String ns,
java.lang.String local)
getCharacterEncodingScheme
public java.lang.String getCharacterEncodingScheme()
getElementText
public java.lang.String getElementText()
throws XMLStreamException
- Throws:
XMLStreamException
getEncoding
public java.lang.String getEncoding()
getEventType
public int getEventType()
getLocalName
public java.lang.String getLocalName()
getLocation
public Location getLocation()
getName
public javax.xml.namespace.QName getName()
getNamespaceContext
public javax.xml.namespace.NamespaceContext getNamespaceContext()
getNamespaceCount
public int getNamespaceCount()
getNamespacePrefix
public java.lang.String getNamespacePrefix(int index)
getNamespaceURI
public java.lang.String getNamespaceURI()
getNamespaceURI
public java.lang.String getNamespaceURI(int index)
getNamespaceURI
public java.lang.String getNamespaceURI(java.lang.String prefix)
getPIData
public java.lang.String getPIData()
getPITarget
public java.lang.String getPITarget()
getPrefix
public java.lang.String getPrefix()
getProperty
public java.lang.Object getProperty(java.lang.String name)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
getText
public java.lang.String getText()
getTextCharacters
public char[] getTextCharacters()
getTextCharacters
public int getTextCharacters(int start,
char[] target,
int sourceStart,
int length)
throws XMLStreamException
- Throws:
XMLStreamException
getTextLength
public int getTextLength()
getTextStart
public int getTextStart()
getVersion
public java.lang.String getVersion()
hasName
public boolean hasName()
hasNext
public boolean hasNext()
throws XMLStreamException
- Throws:
XMLStreamException
hasText
public boolean hasText()
isAttributeSpecified
public boolean isAttributeSpecified(int index)
isCharacters
public boolean isCharacters()
isEndElement
public boolean isEndElement()
isStandalone
public boolean isStandalone()
isStartElement
public boolean isStartElement()
isWhiteSpace
public boolean isWhiteSpace()
next
public int next()
throws XMLStreamException
- Throws:
XMLStreamException
xmlpullToStaxEvent
protected int xmlpullToStaxEvent(int xpe)
nextTag
public int nextTag()
throws XMLStreamException
- Throws:
XMLStreamException
require
public void require(int index,
java.lang.String ns,
java.lang.String local)
throws XMLStreamException
- Throws:
XMLStreamException
standaloneSet
public boolean standaloneSet()
Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.