|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ModelVisitor
Visitor that allows for visiting of IViewable interface objects. Because of the nature of the Visitor pattern, every time a new object is added that derives from IViewable, you need to modify the ViewVisitor interface appropriately.
Each visit may throw a ViewVisitorException which is a runtime exception. You may catch it while processing the nodes if you wish.
Method Summary | |
---|---|
void |
visitAttribute(Attribute attribute)
Visits an attribute. |
void |
visitNode(Node node)
Visits a Node. |
void |
visitNodeType(NodeType nodeType)
Visits a NodeType |
void |
visitPart(Part part)
Visits a Part |
void |
visitPickList(PickList picklist)
Visits a picklist. |
void |
visitRelation(Relation relation)
Visits a Relation |
Method Detail |
---|
void visitAttribute(Attribute attribute)
attribute
- Attribute
ViewVisitorException
- upon error.void visitNode(Node node)
node
- Node
ViewVisitorException
- upon error.void visitNodeType(NodeType nodeType)
nodeType
- NodeType
ViewVisitorException
- upon error.void visitPart(Part part)
part
- Part
ViewVisitorException
- upon error.void visitPickList(PickList picklist)
picklist
- PickList
ViewVisitorException
- upon error.void visitRelation(Relation relation)
relation
- Relation
ViewVisitorException
- upon error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |