public class JArrayNode extends JBaseRamlNode implements ArrayNode
| Constructor and Description |
|---|
JArrayNode(com.fasterxml.jackson.databind.node.ArrayNode arrayNode,
String resourcePath,
ResourceLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy()
Creates a new copy of this node
|
NodeType |
getType()
Returns the type of this node
|
boolean |
isJsonStyle()
Return true if the array was persisted with the json style [ "item"]
|
String |
toString() |
getEndPosition, getJsonNode, getLiteralValue, getResourceLoader, getResourcePath, getStartPositionaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, removeChildren, replaceTree, replaceWith, setChild, setParent, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addChild, annotate, annotations, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, removeChildren, replaceTree, replaceWith, setChild, setParent, setSourcepublic JArrayNode(com.fasterxml.jackson.databind.node.ArrayNode arrayNode,
String resourcePath,
ResourceLoader resourceLoader)
@Nonnull public Node copy()
Nodepublic NodeType getType()
Nodepublic boolean isJsonStyle()
ArrayNodeisJsonStyle in interface ArrayNode["item"] and false if it was written like: - itemCopyright © 2017. All rights reserved.