|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ac.vub.cocompose.lang.DefaultModelVisitor
be.ac.vub.cocompose.lang.DefaultSuperModelVisitor
be.ac.vub.cocompose.io.xmi.XMIElementAttributesWriter
Retrieves the XMI attributes for each model element.
Field Summary |
Fields inherited from class be.ac.vub.cocompose.lang.DefaultModelVisitor |
current |
Constructor Summary | |
XMIElementAttributesWriter()
|
Method Summary | |
Attributes |
getAttributes()
Gets the XMI attributes for the visited element. |
Attributes |
getRootAttributes()
Gets the root attributes to add to the first element. |
void |
setRootAttributes(Attributes rootAttributes)
Sets the root attributes to add to the first element. |
void |
setStacked(ModelVisitor stacked)
Sets a stacked visitor for this and the contained visitors. |
void |
visit(VisitedElement visitedElement)
Starts the visitor. |
void |
visitConstraint(Constraint constraint)
Visits a Constraint. |
void |
visitImplementationPattern(ImplementationPattern implementationPattern)
Visits an ImplementationPattern. |
void |
visitModel(Model model)
Visits a Model. |
void |
visitModelElement(ModelElement modelElement)
Visits a ModelElement. |
void |
visitMultiplicity(Multiplicity multiplicity)
Visits a Multiplicity. |
void |
visitRefinedElement(RefinedElement refinedElement)
Visits a RefinedElement. |
Methods inherited from class be.ac.vub.cocompose.lang.DefaultSuperModelVisitor |
visitAndConstraint, visitCompositeConstraint, visitConcept, visitElementConstraint, visitImplementationGenerator, visitImplementationRolePart, visitModelProperty, visitModelTransformation, visitNamespace, visitOrConstraint, visitProperty, visitRefinement, visitRelationElement, visitRelationship, visitRole, visitSimpleProperty, visitSolutionPattern |
Methods inherited from class be.ac.vub.cocompose.lang.DefaultModelVisitor |
getStacked |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMIElementAttributesWriter()
Method Detail |
public void visitModelElement(ModelElement modelElement) throws ModelElementException
visitModelElement
in interface ModelVisitor
visitModelElement
in class DefaultModelVisitor
modelElement
- - the element to visit.
ModelElementException
public void visitRefinedElement(RefinedElement refinedElement) throws ModelElementException
visitRefinedElement
in interface ModelVisitor
visitRefinedElement
in class DefaultSuperModelVisitor
refinedElement
- - the element to visit.
ModelElementException
public void visitModel(Model model) throws ModelElementException
visitModel
in interface ModelVisitor
visitModel
in class DefaultSuperModelVisitor
model
- - the element to visit.
ModelElementException
public void visitImplementationPattern(ImplementationPattern implementationPattern) throws ModelElementException
visitImplementationPattern
in interface ModelVisitor
visitImplementationPattern
in class DefaultSuperModelVisitor
implementationPattern
- - the element to visit.
ModelElementException
public void visitConstraint(Constraint constraint) throws ModelElementException
visitConstraint
in interface ModelVisitor
visitConstraint
in class DefaultSuperModelVisitor
constraint
- - the element to visit.
ModelElementException
public void visitMultiplicity(Multiplicity multiplicity) throws ModelElementException
visitMultiplicity
in interface ModelVisitor
visitMultiplicity
in class DefaultSuperModelVisitor
multiplicity
- - the element to visit.
ModelElementException
public Attributes getAttributes()
public void visit(VisitedElement visitedElement) throws ModelElementException
visit
in interface ModelVisitor
visit
in class DefaultModelVisitor
visitedElement
- - the element to start visiting at.
ModelElementException
public Attributes getRootAttributes()
public void setRootAttributes(Attributes rootAttributes)
rootAttributes
- - the root attributes.public void setStacked(ModelVisitor stacked)
setStacked
in interface ModelVisitor
setStacked
in class DefaultModelVisitor
stacked
- - the stacked visitor.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |