|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.visitor.CompositeVisitor
wt.graph.ObjectGraphCallback
wt.graph.processor.PreviewProcessingModeVisitor
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private String |
edgeImpl
|
private Vector |
graphEdgeList
|
private Vector |
graphNodeList
|
private ObjectGraph |
inputObjectGraph
|
private String |
nodeImpl
|
private ObjectGraph |
objectGraph
|
private ObjectGraphTemplate |
objectGraphTemplate
|
private Vector |
objectIDs
|
private static String |
RESOURCE
|
private Vector |
templateEdgeList
|
private Vector |
templateNodeList
|
Fields inherited from class wt.visitor.CompositeVisitor |
|
Constructor Summary | |
PreviewProcessingModeVisitor()
Supported API: false |
|
PreviewProcessingModeVisitor(String a_nodeImpl,
String a_edgeImpl)
Supported API: false |
|
PreviewProcessingModeVisitor(String a_nodeImpl,
String a_edgeImpl,
ObjectGraph a_graph,
ObjectGraph a_inputGraph)
This is complete constructor normatlly used by the future implementation of ObjectGraphProcessor. |
|
PreviewProcessingModeVisitor(String a_nodeImpl,
String a_edgeImpl,
ObjectGraph a_graph,
ObjectGraphTemplate a_template)
This is complete constructor normatlly used by ObjectGraphTemplateProcessor. |
Method Summary | |
private void |
edgeImplValidate(String a_EdgeImpl)
|
private ObjectGraphNode |
findObjectGraphNode(Persistable a_node)
|
(package private) String |
getEdgeImpl()
Gets the value of the attribute: edgeImpl. |
ObjectGraph |
getFinalGraph()
This allows processor to capture the ObjectGraph from the PreviewProcessingModeVisitor Supported API: false |
(package private) ObjectGraph |
getInputObjectGraph()
Gets the value of the attribute: inputObjectGraph; input ObjectGraph used by ObjectGraphProcessor which pares down this graph to produce new output ObjectGraph Supported API: false |
(package private) String |
getNodeImpl()
Gets the value of the attribute: nodeImpl. |
(package private) ObjectGraph |
getObjectGraph()
Gets the value of the attribute: objectGraph; This is the output ObjectGraph being created by the ObjectGraphTemplateProcessor or ObjectGraphProcessor. |
(package private) ObjectGraphTemplate |
getObjectGraphTemplate()
Gets the value of the attribute: objectGraphTemplate; This is the "input" ObjectGraphTemplate being used to create new ObjectGraph - it is passed into the ObjectGraphTemplateProcessor then it sets this attribute with the setter. |
private void |
nodeImplValidate(String a_NodeImpl)
|
private boolean |
processNode(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
|
(package private) void |
setEdgeImpl(String a_EdgeImpl)
Sets the value of the attribute: edgeImpl. |
(package private) void |
setInputObjectGraph(ObjectGraph a_InputObjectGraph)
Sets the value of the attribute: inputObjectGraph; input ObjectGraph used by ObjectGraphProcessor which pares down this graph to produce new output ObjectGraph Supported API: false |
(package private) void |
setNodeImpl(String a_NodeImpl)
Sets the value of the attribute: nodeImpl. |
(package private) void |
setObjectGraph(ObjectGraph a_ObjectGraph)
Sets the value of the attribute: objectGraph; This is the output ObjectGraph being created by the ObjectGraphTemplateProcessor or ObjectGraphProcessor. |
(package private) void |
setObjectGraphTemplate(ObjectGraphTemplate a_ObjectGraphTemplate)
Sets the value of the attribute: objectGraphTemplate; This is the "input" ObjectGraphTemplate being used to create new ObjectGraph - it is passed into the ObjectGraphTemplateProcessor then it sets this attribute with the setter. |
private void |
storeObjectGraphNode(ObjectGraphNode a_graphNode,
Persistable a_node)
|
boolean |
visit(Persistable fromNode,
Link link,
Persistable toNode,
int level,
boolean previouslyVisited)
Supported API: false |
boolean |
visitLevel(Persistable fromNode,
Vector links,
Vector toNodes,
int level)
Supported API: false |
boolean |
visitLevel(Vector fromNodes,
Vector links,
Vector toNodes,
int level)
Supported API: false |
Methods inherited from class wt.visitor.CompositeVisitor |
addVisitor, getVisitors, removeVisitor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private ObjectGraph objectGraph
private ObjectGraphTemplate objectGraphTemplate
private ObjectGraph inputObjectGraph
private String nodeImpl
private String edgeImpl
private Vector templateNodeList
private Vector templateEdgeList
private Vector graphNodeList
private Vector graphEdgeList
private Vector objectIDs
Constructor Detail |
public PreviewProcessingModeVisitor()
public PreviewProcessingModeVisitor(String a_nodeImpl, String a_edgeImpl)
a_nodeImpl
- a_edgeImpl
- public PreviewProcessingModeVisitor(String a_nodeImpl, String a_edgeImpl, ObjectGraph a_graph, ObjectGraph a_inputGraph)
a_nodeImpl
- a_edgeImpl
- a_graph
- a_inputGraph
- public PreviewProcessingModeVisitor(String a_nodeImpl, String a_edgeImpl, ObjectGraph a_graph, ObjectGraphTemplate a_template)
a_nodeImpl
- a_edgeImpl
- a_graph
- a_template
- Method Detail |
ObjectGraph getObjectGraph()
void setObjectGraph(ObjectGraph a_ObjectGraph) throws WTPropertyVetoException
a_ObjectGraph
-
WTPropertyVetoException
ObjectGraphTemplate getObjectGraphTemplate()
void setObjectGraphTemplate(ObjectGraphTemplate a_ObjectGraphTemplate) throws WTPropertyVetoException
a_ObjectGraphTemplate
-
WTPropertyVetoException
ObjectGraph getInputObjectGraph()
void setInputObjectGraph(ObjectGraph a_InputObjectGraph) throws WTPropertyVetoException
a_InputObjectGraph
-
WTPropertyVetoException
String getNodeImpl()
void setNodeImpl(String a_NodeImpl) throws WTPropertyVetoException
a_NodeImpl
-
WTPropertyVetoException
private void nodeImplValidate(String a_NodeImpl) throws WTPropertyVetoException
a_NodeImpl
-
WTPropertyVetoException
String getEdgeImpl()
void setEdgeImpl(String a_EdgeImpl) throws WTPropertyVetoException
a_EdgeImpl
-
WTPropertyVetoException
private void edgeImplValidate(String a_EdgeImpl) throws WTPropertyVetoException
a_EdgeImpl
-
WTPropertyVetoException
public boolean visit(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) throws WTException
visit
in interface Visitor
visit
in class ObjectGraphCallback
fromNode
- link
- toNode
- level
- previouslyVisited
-
WTException
public boolean visitLevel(Persistable fromNode, Vector links, Vector toNodes, int level) throws WTException
visitLevel
in interface Visitor
visitLevel
in class ObjectGraphCallback
fromNode
- links
- toNodes
- level
-
WTException
public boolean visitLevel(Vector fromNodes, Vector links, Vector toNodes, int level) throws WTException
visitLevel
in interface Visitor
visitLevel
in class ObjectGraphCallback
fromNodes
- links
- toNodes
- level
-
WTException
public ObjectGraph getFinalGraph()
private boolean processNode(Persistable fromNode, Link link, Persistable toNode, int level, boolean previouslyVisited) throws WTException
WTException
private void storeObjectGraphNode(ObjectGraphNode a_graphNode, Persistable a_node)
private ObjectGraphNode findObjectGraphNode(Persistable a_node)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |