public abstract class NodeVisitor extends Object implements INodeVisitor
| Constructor and Description |
|---|
NodeVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
endArray(ArrayValue array) |
void |
endArrayValue(ArrayValue array,
int index,
ValueNode<?> value) |
void |
endField(Field field) |
void |
endFieldValue(Field field,
ValueNode<?> value) |
void |
endRecord(Record record) |
void |
singleValue(SingleValue value) |
void |
startArray(ArrayValue array) |
void |
startArrayValue(ArrayValue array,
int index,
ValueNode<?> value) |
void |
startField(Field field) |
void |
startFieldValue(Field field,
ValueNode<?> value) |
void |
startRecord(Record record) |
static void |
visit(Node node,
INodeVisitor visitor) |
public void startRecord(Record record) throws Throwable
startRecord in interface INodeVisitorThrowablepublic void endRecord(Record record) throws Throwable
endRecord in interface INodeVisitorThrowablepublic void startField(Field field) throws Throwable
startField in interface INodeVisitorThrowablepublic void endField(Field field) throws Throwable
endField in interface INodeVisitorThrowablepublic void startFieldValue(Field field, ValueNode<?> value) throws Throwable
startFieldValue in interface INodeVisitorThrowablepublic void endFieldValue(Field field, ValueNode<?> value) throws Throwable
endFieldValue in interface INodeVisitorThrowablepublic void startArray(ArrayValue array) throws Throwable
startArray in interface INodeVisitorThrowablepublic void endArray(ArrayValue array) throws Throwable
endArray in interface INodeVisitorThrowablepublic void startArrayValue(ArrayValue array, int index, ValueNode<?> value) throws Throwable
startArrayValue in interface INodeVisitorThrowablepublic void endArrayValue(ArrayValue array, int index, ValueNode<?> value) throws Throwable
endArrayValue in interface INodeVisitorThrowablepublic void singleValue(SingleValue value) throws Throwable
singleValue in interface INodeVisitorThrowablepublic static void visit(Node node, INodeVisitor visitor)
Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.