public class ExampleTypeNode extends AbstractRamlNode implements ObjectNode, TypeNode
| Modifier | Constructor and Description |
|---|---|
|
ExampleTypeNode() |
protected |
ExampleTypeNode(AbstractRamlNode node) |
| Modifier and Type | Method and Description |
|---|---|
Node |
copy()
Creates a new copy of this node
|
NodeType |
getType()
Returns the type of this node
|
Node |
getTypeNode() |
boolean |
isArrayExample() |
String |
toJsonString() |
String |
toString() |
<T> T |
visit(TypeNodeVisitor<T> visitor) |
<T> T |
visitProperties(TypeNodeVisitor<T> visitor,
List<PropertyNode> properties,
boolean allowsAdditionalProperties,
boolean strict) |
getEndPosition, getStartPosition, setEndPosition, setStartPositionaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getParent, getRootNode, getSource, removeChild, replaceWith, setChild, setParent, setSourceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddChild, addChild, findAncestorWith, findDescendantsWith, get, getChildren, getEndPosition, getParent, getRootNode, getSource, getStartPosition, removeChild, replaceWith, setChild, setParent, setSourcepublic ExampleTypeNode()
protected ExampleTypeNode(AbstractRamlNode node)
public <T> T visit(TypeNodeVisitor<T> visitor)
public <T> T visitProperties(TypeNodeVisitor<T> visitor, List<PropertyNode> properties, boolean allowsAdditionalProperties, boolean strict)
@Nonnull public Node copy()
Nodepublic NodeType getType()
Nodepublic String toJsonString()
public boolean isArrayExample()
public Node getTypeNode()
Copyright © 2016. All rights reserved.