com.xebialabs.xltype.serialization.json
Class CiJsonReader
java.lang.Object
com.xebialabs.xltype.serialization.json.CiJsonReader
- All Implemented Interfaces:
- CiReader
public class CiJsonReader
- extends java.lang.Object
- implements CiReader
|
Constructor Summary |
CiJsonReader(org.codehaus.jettison.json.JSONObject json)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CiJsonReader
public CiJsonReader(org.codehaus.jettison.json.JSONObject json)
create
public static CiJsonReader create(java.lang.String jsonObject)
getType
public java.lang.String getType()
- Specified by:
getType in interface CiReader
getId
public java.lang.String getId()
- Specified by:
getId in interface CiReader
getToken
public java.lang.String getToken()
- Specified by:
getToken in interface CiReader
hasMoreProperties
public boolean hasMoreProperties()
- Specified by:
hasMoreProperties in interface CiReader
moveIntoProperty
public void moveIntoProperty()
- Specified by:
moveIntoProperty in interface CiReader
moveIntoNestedProperty
public CiReader moveIntoNestedProperty()
- Specified by:
moveIntoNestedProperty in interface CiReader
moveOutOfProperty
public void moveOutOfProperty()
- Specified by:
moveOutOfProperty in interface CiReader
getCurrentPropertyName
public java.lang.String getCurrentPropertyName()
- Specified by:
getCurrentPropertyName in interface CiReader
getStringValue
public java.lang.String getStringValue()
- Specified by:
getStringValue in interface CiReader
getStringValues
public java.util.List<java.lang.String> getStringValues()
- Specified by:
getStringValues in interface CiReader
getStringMap
public java.util.Map<java.lang.String,java.lang.String> getStringMap()
- Specified by:
getStringMap in interface CiReader
isCiReference
public boolean isCiReference()
- Specified by:
isCiReference in interface CiReader
getCiReference
public java.lang.String getCiReference()
- Specified by:
getCiReference in interface CiReader
getCiReferences
public java.util.List<java.lang.String> getCiReferences()
- Specified by:
getCiReferences in interface CiReader
getCurrentCiListReader
public CiListReader getCurrentCiListReader()
- Specified by:
getCurrentCiListReader in interface CiReader
getValidationMessages
public java.util.List<com.xebialabs.deployit.plugin.api.validation.ValidationMessage> getValidationMessages()
- Specified by:
getValidationMessages in interface CiReader