Class TraversingJVisitor
- java.lang.Object
-
- org.apache.xmlbeans.impl.jam.visitor.JVisitor
-
- org.apache.xmlbeans.impl.jam.visitor.TraversingJVisitor
-
public class TraversingJVisitor extends JVisitor
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 TraversingJVisitor(JVisitor jv)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visit(JAnnotation ann)
void
visit(JClass clazz)
void
visit(JComment comment)
void
visit(JConstructor ctor)
void
visit(JField field)
void
visit(JMethod method)
void
visit(JPackage pkg)
void
visit(JParameter param)
-
-
-
Constructor Detail
-
TraversingJVisitor
public TraversingJVisitor(JVisitor jv)
-
-
Method Detail
-
visit
public void visit(JConstructor ctor)
-
visit
public void visit(JParameter param)
-
visit
public void visit(JAnnotation ann)
-
-