Class JsonPointer
java.lang.Object
com.floragunn.codova.documents.pointer.JsonPointer
- All Implemented Interfaces:
DocPointer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAtPointedValue(Object objectTreeNode, Object newValue) booleangetAncestor(int generation) getPointedValue(Object objectTreeNode) inthashCode()booleanisRoot()static JsonPointerremovePointedValue(Object objectTreeNode) voidsetPointedValue(Object objectTreeNode, Object newValue) toString()with(int referenceToken) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.floragunn.codova.documents.pointer.DocPointer
getPointedValue, getPointedValueAsNode
-
Field Details
-
ROOT
-
-
Method Details
-
parse
- Throws:
ConfigValidationException
-
getPointedValue
- Specified by:
getPointedValuein interfaceDocPointer- Throws:
PointerEvaluationException
-
setPointedValue
public void setPointedValue(Object objectTreeNode, Object newValue) throws PointerEvaluationException - Specified by:
setPointedValuein interfaceDocPointer- Throws:
PointerEvaluationException
-
addAtPointedValue
public void addAtPointedValue(Object objectTreeNode, Object newValue) throws PointerEvaluationException - Specified by:
addAtPointedValuein interfaceDocPointer- Throws:
PointerEvaluationException
-
removePointedValue
- Specified by:
removePointedValuein interfaceDocPointer- Throws:
PointerEvaluationException
-
with
-
with
-
isRoot
public boolean isRoot() -
toString
-
getParent
- Specified by:
getParentin interfaceDocPointer
-
getAncestor
-
hashCode
public int hashCode() -
equals
-