## Uses of Interface
org.modeshape.jcr.query.model.Visitor

- Packages that use Visitor
  Package | Description
  --- | ---
  org.modeshape.jcr.query.model | The Abstract Query Model is a vocabulary that can be used to construct a language-neutral representation of a query.
  org.modeshape.jcr.query.parse | This package defines the `QueryParser` interface, which defines a component that can parse a query represented in a specific language and produce the corresponding `abstract query model` representation.
  org.modeshape.jcr.query.plan | This package defines the `Planner` interface, the `CanonicalPlanner` implementation, and the `PlanNode` class that is used to represent a canonical query plan.
  org.modeshape.jcr.query.validate | This package provides the interfaces that define the tables and columns that can be queried.

- - ### Uses of Visitor in org.modeshape.jcr.query.model

    Classes in org.modeshape.jcr.query.model that implement Visitor
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `Visitors.AbstractVisitor` A common base class for all visitors, which provides no-op implementations for all `visit(...)` methods.
    `static class` | `Visitors.JcrSql2Writer`
    `static class` | `Visitors.NavigationVisitor` An abstract visitor implementation that performs navigation of the query object.
    `static class` | `Visitors.ReadableVisitor`
    `static class` | `Visitors.WalkAllVisitor` A visitor implementation that walks the entire query object tree and delegates to another supplied visitor to do the actual work.

    Fields in org.modeshape.jcr.query.model declared as Visitor
    Modifier and Type | Field and Description
    --- | ---
    `protected Visitor` | Visitors.NavigationVisitor.`strategy`

    Methods in org.modeshape.jcr.query.model with type parameters of type Visitor
    Modifier and Type | Method and Description
    --- | ---
    `static <GeneralVisitor extends Visitor> GeneralVisitor` | Visitors.`visit(Visitable visitable, GeneralVisitor visitor)` Visit the supplied `object` using the supplied `Visitor`, which must be responsible for navigation as well as any business logic.
    `static <StrategyVisitor extends Visitor> StrategyVisitor` | Visitors.`visitAll(Iterable<? extends Visitable> visitables, StrategyVisitor strategyVisitor)` Visit all objects in the supplied `object` using a `Visitors.NavigationVisitor` (specifically a `Visitors.WalkAllVisitor`), and with each of these visited objects calling the appropriate `visit(...)` method on the supplied `Visitor`.
    `static <StrategyVisitor extends Visitor> StrategyVisitor` | Visitors.`visitAll(Visitable visitable, StrategyVisitor strategyVisitor)` Visit all objects in the supplied `object` using a `Visitors.NavigationVisitor` (specifically a `Visitors.WalkAllVisitor`), and with each of these visited objects calling the appropriate `visit(...)` method on the supplied `Visitor`.

    Methods in org.modeshape.jcr.query.model with parameters of type Visitor
    Modifier and Type | Method and Description
    --- | ---
    `void` | Visitable.`accept(Visitor visitor)` Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation.
    `void` | UpperCase.`accept(Visitor visitor)`
    `void` | Subquery.`accept(Visitor visitor)`
    `void` | SetQuery.`accept(Visitor visitor)`
    `void` | SetCriteria.`accept(Visitor visitor)`
    `void` | SameNodeJoinCondition.`accept(Visitor visitor)`
    `void` | SameNode.`accept(Visitor visitor)`
    `void` | Relike.`accept(Visitor visitor)`
    `void` | ReferenceValue.`accept(Visitor visitor)`
    `void` | Query.`accept(Visitor visitor)`
    `void` | PropertyValue.`accept(Visitor visitor)`
    `void` | PropertyExistence.`accept(Visitor visitor)`
    `void` | Ordering.`accept(Visitor visitor)`
    `void` | Or.`accept(Visitor visitor)`
    `void` | Not.`accept(Visitor visitor)`
    `void` | NodePath.`accept(Visitor visitor)`
    `void` | NodeName.`accept(Visitor visitor)`
    `void` | NodeLocalName.`accept(Visitor visitor)`
    `void` | NodeDepth.`accept(Visitor visitor)`
    `void` | NamedSelector.`accept(Visitor visitor)`
    `void` | LowerCase.`accept(Visitor visitor)`
    `void` | Literal.`accept(Visitor visitor)`
    `void` | Limit.`accept(Visitor visitor)`
    `void` | Length.`accept(Visitor visitor)`
    `void` | Join.`accept(Visitor visitor)`
    `void` | FullTextSearchScore.`accept(Visitor visitor)`
    `void` | FullTextSearch.`accept(Visitor visitor)`
    `void` | EquiJoinCondition.`accept(Visitor visitor)`
    `void` | DescendantNodeJoinCondition.`accept(Visitor visitor)`
    `void` | DescendantNode.`accept(Visitor visitor)`
    `void` | Comparison.`accept(Visitor visitor)`
    `void` | Column.`accept(Visitor visitor)`
    `void` | ChildNodeJoinCondition.`accept(Visitor visitor)`
    `void` | ChildNode.`accept(Visitor visitor)`
    `void` | BindVariableName.`accept(Visitor visitor)`
    `void` | Between.`accept(Visitor visitor)`
    `void` | ArithmeticOperand.`accept(Visitor visitor)`
    `void` | And.`accept(Visitor visitor)`
    `void` | AllNodes.`accept(Visitor visitor)`

    Constructors in org.modeshape.jcr.query.model with parameters of type Visitor
    Constructor and Description
    `Visitors.NavigationVisitor(Visitor strategy)` Create a visitor that walks all query objects.
    `Visitors.WalkAllVisitor(Visitor strategy)` Create a visitor that walks all query objects.

  - ### Uses of Visitor in org.modeshape.jcr.query.parse

    Methods in org.modeshape.jcr.query.parse with parameters of type Visitor
    Modifier and Type | Method and Description
    --- | ---
    `void` | JcrSqlQueryParser.JoinableSources.`accept(Visitor visitor)`

  - ### Uses of Visitor in org.modeshape.jcr.query.plan

    Classes in org.modeshape.jcr.query.plan that implement Visitor
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `PlanUtil.RequiredColumnVisitor`

  - ### Uses of Visitor in org.modeshape.jcr.query.validate

    Classes in org.modeshape.jcr.query.validate that implement Visitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `Validator` A `Visitor` implementation that validates a query's used of a `Schemata` and records any problems as errors.

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.