Class TraversingMVisitor
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.visitor.MVisitor
-
- org.apache.xmlbeans.impl.jam.visitor.TraversingMVisitor
-
public class TraversingMVisitor extends MVisitor
An adaptor which helps another MVisitor visit a JElement and its children, recursively. Note that inherited class or annotations members are never visited, nor are referenced classes (e.g. referenced via member types). The following table lists each element and the child types which are traversed.
Element Sub-elements traversal Package Classes, Annotations, Comments Class Fields, Constructors, Methods, Annotations, Comments Field Annotations, Comments Constructor Parameters, Annotations, Comments Method Parameters, Annotations, Comments Parameter Annotations, Comments Annotation [none] Comment [none]
-
-
Constructor Summary
Constructors Constructor Description TraversingMVisitor(MVisitor jv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(MAnnotation ann)
void
visit(MClass clazz)
void
visit(MComment comment)
void
visit(MConstructor ctor)
void
visit(MField field)
void
visit(MMethod method)
void
visit(MPackage pkg)
void
visit(MParameter param)
-
-
-
Constructor Detail
-
TraversingMVisitor
public TraversingMVisitor(MVisitor jv)
-
-
Method Detail
-
visit
public void visit(MConstructor ctor)
-
visit
public void visit(MParameter param)
-
visit
public void visit(MAnnotation ann)
-
-