Package org.revapi.jackson
Class JacksonElement<E extends JacksonElement<E>>
- java.lang.Object
- 
- org.revapi.base.BaseElement<E>
- 
- org.revapi.jackson.JacksonElement<E>
 
 
- 
- Type Parameters:
- E-
 - All Implemented Interfaces:
- Cloneable,- Comparable<E>,- org.revapi.Element<E>
 
 public class JacksonElement<E extends JacksonElement<E>> extends org.revapi.base.BaseElement<E>A base class for elements based on Jackson.
- 
- 
Field SummaryFields Modifier and Type Field Description protected StringfilePathprotected intindexInParentprotected StringkeyInParentprotected com.fasterxml.jackson.core.TreeNodenode
 - 
Constructor SummaryConstructors Constructor Description JacksonElement(org.revapi.API api, org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, int index)JacksonElement(org.revapi.API api, org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, String key)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(E other)protected StringcreateFullHumanReadableString()booleanequals(Object o)StringgetFilePath()StringgetFullHumanReadableString()com.fasterxml.jackson.core.TreeNodegetNode()StringgetPath()protected StringgetPathPart()StringgetValueString()inthashCode()voidsetParent(E parent)StringtoString()- 
Methods inherited from class org.revapi.base.BaseElementcastThis, clone, getApi, getArchive, getChildren, getParent, getReferencedElements, getReferencingElements, iterateOverChildren, newChildrenInstance, newReference, searchChildren, searchChildren, setArchive
 
- 
 
- 
- 
- 
Constructor Detail- 
JacksonElementpublic JacksonElement(org.revapi.API api, org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, String key)
 - 
JacksonElementpublic JacksonElement(org.revapi.API api, org.revapi.Archive archive, String filePath, com.fasterxml.jackson.core.TreeNode node, int index)
 
- 
 - 
Method Detail- 
getNodepublic com.fasterxml.jackson.core.TreeNode getNode() 
 - 
getFilePathpublic String getFilePath() 
 - 
getPathpublic String getPath() 
 - 
getValueStringpublic String getValueString() 
 - 
setParentpublic void setParent(@Nullable E parent) - Specified by:
- setParentin interface- org.revapi.Element<E extends JacksonElement<E>>
- Overrides:
- setParentin class- org.revapi.base.BaseElement<E extends JacksonElement<E>>
 
 - 
getFullHumanReadableString@Nonnull public String getFullHumanReadableString() - Specified by:
- getFullHumanReadableStringin interface- org.revapi.Element<E extends JacksonElement<E>>
- Overrides:
- getFullHumanReadableStringin class- org.revapi.base.BaseElement<E extends JacksonElement<E>>
 
 - 
createFullHumanReadableStringprotected String createFullHumanReadableString() 
 - 
compareTopublic int compareTo(E other) 
 - 
getPathPartprotected String getPathPart() 
 
- 
 
-