org.cubeengine.converter.node
Class StringNode

java.lang.Object
  extended by org.cubeengine.converter.node.Commentable
      extended by org.cubeengine.converter.node.Node<V>
          extended by org.cubeengine.converter.node.ValueNode<String>
              extended by org.cubeengine.converter.node.StringNode

public class StringNode
extends ValueNode<String>

A String Node


Constructor Summary
StringNode(String value)
          Creates a StringNode
 
Method Summary
static StringNode of(String string)
          Creates a StringNode of given String
 
Methods inherited from class org.cubeengine.converter.node.ValueNode
asString, asText, getValue
 
Methods inherited from class org.cubeengine.converter.node.Node
isInherited, setInherited
 
Methods inherited from class org.cubeengine.converter.node.Commentable
getComments, setComments
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringNode

public StringNode(String value)
Creates a StringNode

Parameters:
value - a string
Method Detail

of

public static StringNode of(String string)
Creates a StringNode of given String

Parameters:
string - the string
Returns:
the StringNode


Copyright © 2013–2017. All rights reserved.