|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JSON2XMLHandler
Interface used to support converting JSON to XML.
These interface methods are called during the conversion process of JSON to XML.
JSONUtil
,
JSON2XMLHandlerImpl
Method Summary | |
---|---|
void |
beginArray(IXml parent)
Called at the beginning of processing a JSON Array. |
void |
beginData(IXml parent,
java.lang.String value)
Called to add a text value to the specified parent element. |
IXml |
beginDocument()
Called at the beginning of the JSON to XML conversion. |
IXml |
beginElement(IXml parent,
java.lang.String name)
Called to add a new child element to the specified parent. |
void |
endArray(IXml parent)
Called at the end of processing a JSON Array. |
void |
endData(IXml parent)
Called at the end of data creation. |
void |
endDocument(IXml document)
Called at the end of the JSON to XML conversion. |
void |
endElement(IXml element)
Called at the end of element creation. |
Method Detail |
---|
void beginArray(IXml parent)
parent
- The parent element of the array.void beginData(IXml parent, java.lang.String value)
parent
- The parent which to add the data to.value
- The text value to be added.IXml beginDocument()
IXml beginElement(IXml parent, java.lang.String name)
parent
- The parent which to add the new element to.
void endArray(IXml parent)
parent
- The parent element of the array.void endData(IXml parent)
element
- The element that data was added to.void endDocument(IXml document)
document
- The document root IXml element.void endElement(IXml element)
element
- The element that was created.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |