Package com.macrofocus.persistence
Class JsonObjectElement
- java.lang.Object
-
- com.macrofocus.persistence.JsonObjectElement
-
-
Constructor Summary
Constructors Constructor Description JsonObjectElement(elemental.json.JsonObject object, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttribute(Attribute attribute)
void
appendChild(Element element)
Attribute
getAttribute(int index)
Attribute
getAttribute(java.lang.String key)
int
getAttributeCount()
java.lang.String
getAttributeValue(java.lang.String key)
Elements
getChildElements()
java.lang.String
getLocalName()
-
-
-
Method Detail
-
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalName
in interfaceElement
-
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCount
in interfaceElement
-
getAttribute
public Attribute getAttribute(int index)
- Specified by:
getAttribute
in interfaceElement
-
getAttribute
public Attribute getAttribute(java.lang.String key)
- Specified by:
getAttribute
in interfaceElement
-
getChildElements
public Elements getChildElements()
- Specified by:
getChildElements
in interfaceElement
-
getAttributeValue
public java.lang.String getAttributeValue(java.lang.String key)
- Specified by:
getAttributeValue
in interfaceElement
-
addAttribute
public void addAttribute(Attribute attribute)
- Specified by:
addAttribute
in interfaceElement
-
appendChild
public void appendChild(Element element)
- Specified by:
appendChild
in interfaceElement
-
-