org.xcmis.search
Class Visitors.ReadableVisitor

java.lang.Object
  extended by org.xcmis.search.Visitors.ReadableVisitor
All Implemented Interfaces:
QueryObjectModelVisitor
Enclosing class:
Visitors

public static class Visitors.ReadableVisitor
extends Object
implements QueryObjectModelVisitor


Constructor Summary
Visitors.ReadableVisitor()
           
 
Method Summary
protected  Visitors.ReadableVisitor append(char character)
           
protected  Visitors.ReadableVisitor append(int value)
           
protected  Visitors.ReadableVisitor append(SelectorName name)
           
protected  Visitors.ReadableVisitor append(String string)
           
 String getString()
          Get the string representation of the visited objects.
 String toString()
          
 void visit(And and)
          
 void visit(BindVariableName variable)
          
 void visit(ChildNode child)
          
 void visit(ChildNodeJoinCondition condition)
          
 void visit(Column column)
          
 void visit(Comparison comparison)
          
 void visit(DescendantNode descendant)
          
 void visit(DescendantNodeJoinCondition condition)
          
 void visit(EquiJoinCondition condition)
          
 void visit(FullTextSearch fullText)
          
 void visit(FullTextSearchScore score)
          
 void visit(Join join)
          
 void visit(Length length)
          
 void visit(Limit limit)
          
 void visit(Literal literal)
          
 void visit(LowerCase lowerCase)
          
 void visit(NodeDepth depth)
          
 void visit(NodeLocalName name)
          
 void visit(NodeName name)
          
 void visit(Not not)
          
 void visit(Or or)
          
 void visit(Ordering ordering)
          
 void visit(PropertyExistence existence)
          
 void visit(PropertyValue value)
          
 void visit(Query query)
          
 void visit(SameNode sameNode)
          
 void visit(SameNodeJoinCondition condition)
          
 void visit(Selector selector)
          
 void visit(UpperCase upperCase)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Visitors.ReadableVisitor

public Visitors.ReadableVisitor()
Method Detail

append

protected final Visitors.ReadableVisitor append(String string)

append

protected final Visitors.ReadableVisitor append(char character)

append

protected final Visitors.ReadableVisitor append(int value)

append

protected final Visitors.ReadableVisitor append(SelectorName name)

getString

public final String getString()
Get the string representation of the visited objects.

Returns:
the string representation

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()

visit

public void visit(And and)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(And)

visit

public void visit(BindVariableName variable)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(BindVariableName)

visit

public void visit(ChildNode child)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(ChildNode)

visit

public void visit(ChildNodeJoinCondition condition)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(ChildNodeJoinCondition)

visit

public void visit(Column column)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(Column)

visit

public void visit(Comparison comparison)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(Comparison)

visit

public void visit(DescendantNode descendant)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(DescendantNode)

visit

public void visit(DescendantNodeJoinCondition condition)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(DescendantNodeJoinCondition)

visit

public void visit(EquiJoinCondition condition)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(EquiJoinCondition)

visit

public void visit(FullTextSearch fullText)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(FullTextSearch)

visit

public void visit(FullTextSearchScore score)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(FullTextSearchScore)

visit

public void visit(Join join)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(Join)

visit

public void visit(Length length)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(Length)

visit

public void visit(Limit limit)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(Limit)

visit

public void visit(Literal literal)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(Literal)

visit

public void visit(LowerCase lowerCase)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(LowerCase)

visit

public void visit(NodeDepth depth)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(NodeDepth)

visit

public void visit(NodeLocalName name)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(NodeLocalName)

visit

public void visit(NodeName name)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(NodeName)

visit

public void visit(Selector selector)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor#visit(NamedSelector)

visit

public void visit(Not not)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(Not)

visit

public void visit(Or or)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(Or)

visit

public void visit(Ordering ordering)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(Ordering)

visit

public void visit(PropertyExistence existence)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(PropertyExistence)

visit

public void visit(PropertyValue value)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(PropertyValue)

visit

public void visit(Query query)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(Query)

visit

public void visit(SameNode sameNode)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(SameNode)

visit

public void visit(SameNodeJoinCondition condition)

Specified by:
visit in interface QueryObjectModelVisitor
See Also:
QueryObjectModelVisitor.visit(SameNodeJoinCondition)

visit

public void visit(UpperCase upperCase)
           throws VisitException

Specified by:
visit in interface QueryObjectModelVisitor
Throws:
VisitException - if exception occurs
See Also:
QueryObjectModelVisitor.visit(UpperCase)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.