XMLStreamConstants, XMLStreamReaderpublic class MappedXMLStreamReader extends AbstractXMLStreamReader
event, nodeATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT| Constructor | Description |
|---|---|
MappedXMLStreamReader(JSONObject obj) |
|
MappedXMLStreamReader(JSONObject obj,
MappedNamespaceConvention con) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
MappedNamespaceConvention |
getConvention() |
|
String |
getElementText() |
|
NamespaceContext |
getNamespaceContext() |
|
String |
getText() |
|
boolean |
isAvoidArraySpecificEvents(String key) |
|
int |
next() |
|
void |
setValueKey(String valueKey) |
getAttributeCount, getAttributeLocalName, getAttributeName, getAttributeNamespace, getAttributePrefix, getAttributeType, getAttributeValue, getAttributeValue, getCharacterEncodingScheme, getEncoding, getEventType, getLocalName, getLocation, getName, getNamespaceCount, getNamespacePrefix, getNamespaceURI, getNamespaceURI, getNamespaceURI, getPIData, getPITarget, getPrefix, getProperty, getTextCharacters, getTextCharacters, getTextLength, getTextStart, getVersion, hasName, hasNext, hasText, isAttributeSpecified, isCharacters, isEndElement, isStandalone, isStartElement, isWhiteSpace, nextTag, require, standaloneSetpublic MappedXMLStreamReader(JSONObject obj) throws JSONException, XMLStreamException
JSONExceptionXMLStreamExceptionpublic MappedXMLStreamReader(JSONObject obj, MappedNamespaceConvention con) throws JSONException, XMLStreamException
JSONExceptionXMLStreamExceptionpublic int next()
throws XMLStreamException
XMLStreamExceptionpublic void close()
throws XMLStreamException
XMLStreamExceptionpublic String getElementText() throws XMLStreamException
XMLStreamExceptionpublic NamespaceContext getNamespaceContext()
public String getText()
public void setValueKey(String valueKey)
public boolean isAvoidArraySpecificEvents(String key)
public MappedNamespaceConvention getConvention()
Copyright © 2019. All rights reserved.