Package org.apache.poi.ss.formula.token
Class StringNode
- java.lang.Object
-
- org.apache.poi.ss.formula.token.DefaultTokenNode<String>
-
- org.apache.poi.ss.formula.token.StringNode
-
- All Implemented Interfaces:
FormulaTokenNode
public class StringNode extends DefaultTokenNode<String>
-
-
Field Summary
-
Fields inherited from class org.apache.poi.ss.formula.token.DefaultTokenNode
value
-
-
Constructor Summary
Constructors Constructor Description StringNode(String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(TokenNodeVisitor<R> visitor)Use the given [visitor] to visit this node.booleanadd(FormulaTokenNode child)NodeIdgetNodeId()intgetType()booleanhasOperands()FormulaTokenNodenormalize(FormulaTokenParser parser)StringtoString()<R> List<R>visitChildren(TokenNodeVisitor<R> visitor)Use the given [visitor] to visit all of the children of this node.-
Methods inherited from class org.apache.poi.ss.formula.token.DefaultTokenNode
getValue, isOp
-
-
-
-
Constructor Detail
-
StringNode
public StringNode(String value)
-
-
Method Detail
-
getNodeId
public NodeId getNodeId()
-
getType
public int getType()
-
hasOperands
public boolean hasOperands()
-
add
public boolean add(FormulaTokenNode child)
-
normalize
public FormulaTokenNode normalize(FormulaTokenParser parser)
-
accept
public <R> R accept(TokenNodeVisitor<R> visitor)
Description copied from interface:FormulaTokenNodeUse the given [visitor] to visit this node. Return the value returned by the visitor as a result of visiting this node.
-
visitChildren
public <R> List<R> visitChildren(TokenNodeVisitor<R> visitor)
Description copied from interface:FormulaTokenNodeUse the given [visitor] to visit all of the children of this node. Return the values returned by the visitor as a result of visiting each child node.
-
-