Package org.codehaus.jettison
Class Node
java.lang.Object
org.codehaus.jettison.Node
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNode
(String name, Convention con) Node
(JSONObject object) Node
(Node parent, String name, JSONObject object, Convention con) -
Method Summary
Modifier and TypeMethodDescriptiongetArray()
int
getKeys()
getName()
int
getNamespacePrefix
(int index) getNamespacePrefix
(String URI) getNamespaceURI
(int index) getNamespaceURI
(String prefix) void
void
setArrayIndex
(int arrayIndex) void
setAttribute
(QName name, String value) void
setCurrentKey
(String currentKey) void
setNamespace
(String prefix, String uri) void
setNamespaces
(Map namespaces) void
setObject
(JSONObject object) toString()
-
Field Details
-
Constructor Details
-
Node
public Node(Node parent, String name, JSONObject object, Convention con) throws JSONException, XMLStreamException - Throws:
JSONException
XMLStreamException
-
Node
- Throws:
XMLStreamException
-
Node
-
-
Method Details
-
getNamespaceCount
public int getNamespaceCount() -
getNamespaceURI
-
getNamespaceURI
-
getNamespacePrefix
-
getNamespacePrefix
-
setNamespaces
-
setNamespace
-
getAttributes
-
setAttribute
-
getKeys
-
getName
-
getObject
-
setObject
-
getArray
-
setArray
-
getArrayIndex
public int getArrayIndex() -
setArrayIndex
public void setArrayIndex(int arrayIndex) -
getCurrentKey
-
setCurrentKey
-
toString
-