Class QueryTreeDump

    • Method Detail

      • dump

        public static void dump​(QueryNode node,
                                java.lang.StringBuffer buffer)
                         throws javax.jcr.RepositoryException
        Dumps a query node tree to the string buffer.
        Parameters:
        node - the root node of a query tree.
        buffer - a string buffer where to dump the tree structure.
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(QueryRootNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(OrQueryNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(AndQueryNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(NotQueryNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(PathQueryNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(LocationStepQueryNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(RelationQueryNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException
      • visit

        public java.lang.Object visit​(DerefQueryNode node,
                                      java.lang.Object data)
                               throws javax.jcr.RepositoryException
        Specified by:
        visit in interface QueryNodeVisitor
        Throws:
        javax.jcr.RepositoryException