Package com.sforce.ws.parser
Class XmlInputStream
java.lang.Object
com.sforce.ws.parser.XmlInputStream
This is a minimal pull parser. It currently delegates to XPP parser available at
http://www.extreme.indiana.edu/xgws/xsoap/xpp/
- Since:
- 1.0 Nov 5, 2005
- Version:
- 1.0
- Author:
- http://cheenath.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidintgetAttributeName(int index) getAttributeNamespace(int index) getAttributeValue(int index) getAttributeValue(String namespace, String name) intintintgetName()getNamespace(String prefix) getText()intnext()intnextTag()nextText()intpeek()intpeekTag()voidsetInput(InputStream inputStream, String inputEncoding) toString()
-
Field Details
-
END_DOCUMENT
public static final int END_DOCUMENT- See Also:
-
START_DOCUMENT
public static final int START_DOCUMENT- See Also:
-
START_TAG
public static final int START_TAG- See Also:
-
END_TAG
public static final int END_TAG- See Also:
-
TEXT
public static final int TEXT- See Also:
-
-
Constructor Details
-
XmlInputStream
public XmlInputStream()
-
-
Method Details
-
setInput
- Throws:
PullParserException
-
getNamespace
-
getPositionDescription
-
getLineNumber
public int getLineNumber() -
getColumnNumber
public int getColumnNumber() -
getNamespace
-
getName
-
getAttributeValue
-
getAttributeCount
public int getAttributeCount() -
getAttributeValue
-
getAttributeName
-
getAttributeNamespace
-
consumePeeked
public void consumePeeked() -
getEventType
- Throws:
ConnectionException
-
next
- Throws:
IOExceptionConnectionException
-
toString
-
nextText
- Throws:
IOExceptionConnectionException
-
getText
-
nextTag
- Throws:
IOExceptionConnectionException
-
peekTag
- Throws:
ConnectionExceptionIOException
-
peek
- Throws:
ConnectionExceptionIOException
-