|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.validation.service.AbstractTraversalStrategy
org.eclipse.emf.validation.service.ITraversalStrategy.Flat
An implementation of the ITraversalStrategy
interface that is
non-recursive: it simply iterates the root elements.
Nested Class Summary |
---|
Nested classes inherited from class org.eclipse.emf.validation.service.ITraversalStrategy |
---|
ITraversalStrategy.Flat, ITraversalStrategy.Recursive |
Constructor Summary | |
---|---|
ITraversalStrategy.Flat()
Initializes me. |
Method Summary | |
---|---|
protected int |
countElements(java.util.Collection traversalRoots)
Implemented by subclasses to compute the number of elements that will be validated within the scope of the specified root elements. |
protected java.util.Iterator |
createIterator(java.util.Collection traversalRoots)
Implemented by subclasses to return an iterator that provides all of the elements to be validated, within the scope of the specified root elements. |
Methods inherited from class org.eclipse.emf.validation.service.AbstractTraversalStrategy |
---|
elementValidated, getProgressMonitor, getTaskLabel, hasNext, isClientContextChanged, next, startTraversal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ITraversalStrategy.Flat()
Method Detail |
protected int countElements(java.util.Collection traversalRoots)
AbstractTraversalStrategy
countElements
in class AbstractTraversalStrategy
traversalRoots
- the roots of the traversal sub-trees
protected java.util.Iterator createIterator(java.util.Collection traversalRoots)
AbstractTraversalStrategy
createIterator
in class AbstractTraversalStrategy
traversalRoots
- the roots of the traversal sub-trees
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |