org.cubeengine.converter.node
Class Node<V>
java.lang.Object
org.cubeengine.converter.node.Commentable
org.cubeengine.converter.node.Node<V>
- Direct Known Subclasses:
- ContainerNode, NullNode, ValueNode
public abstract class Node<V>
- extends Commentable
A reflected Node
|
Constructor Summary |
Node()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Node
public Node()
asText
public abstract String asText()
- Tries to convert the value of the Node into a string
- Returns:
- the converted Node value
getValue
public abstract V getValue()
- Gets the Value contained in this Node
- Returns:
- the NodeValue
asString
public abstract String asString()
isInherited
public boolean isInherited()
- Wraps a serialized Object into a Node
- Parameters:
o - a serialized Object
- Returns:
- the wrapped object
setInherited
public void setInherited(boolean inherited)
Copyright © 2013–2017. All rights reserved.