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 voidaddAttribute(Attribute attribute)voidappendChild(Element element)AttributegetAttribute(int index)AttributegetAttribute(java.lang.String key)intgetAttributeCount()java.lang.StringgetAttributeValue(java.lang.String key)ElementsgetChildElements()java.lang.StringgetLocalName()
-
-
-
Method Detail
-
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalNamein interfaceElement
-
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCountin interfaceElement
-
getAttribute
public Attribute getAttribute(int index)
- Specified by:
getAttributein interfaceElement
-
getAttribute
public Attribute getAttribute(java.lang.String key)
- Specified by:
getAttributein interfaceElement
-
getChildElements
public Elements getChildElements()
- Specified by:
getChildElementsin interfaceElement
-
getAttributeValue
public java.lang.String getAttributeValue(java.lang.String key)
- Specified by:
getAttributeValuein interfaceElement
-
addAttribute
public void addAttribute(Attribute attribute)
- Specified by:
addAttributein interfaceElement
-
appendChild
public void appendChild(Element element)
- Specified by:
appendChildin interfaceElement
-
-