Package org.beanio.internal.parser
Class Component
- java.lang.Object
-
- org.beanio.internal.util.TreeNode<Component>
-
- org.beanio.internal.parser.Component
-
- All Implemented Interfaces:
java.lang.Cloneable
,java.lang.Iterable<Component>
,Replicateable
- Direct Known Subclasses:
Constant
,ParserComponent
,PropertyComponent
public abstract class Component extends TreeNode<Component>
The base class for all nodes in the parser tree.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerLocals(java.util.Set<ParserLocal<? extends java.lang.Object>> locals)
Called by a stream to register variables stored in the parsing context.-
Methods inherited from class org.beanio.internal.util.TreeNode
add, clone, find, getChildren, getFirst, getName, isDescendant, isSupportedChild, iterator, print, print, setName, size, sort, toParamString, toString, updateReferences
-
-
-
-
Method Detail
-
registerLocals
public void registerLocals(java.util.Set<ParserLocal<? extends java.lang.Object>> locals)
Called by a stream to register variables stored in the parsing context. This method should be overridden by subclasses that need to register one or more parser context variables.- Parameters:
locals
- set of local variables
-
-