Tabnine Logo
QueryRootNode.setLocationNode
Code IndexAdd Tabnine to your IDE (free)

How to use
setLocationNode
method
in
org.apache.jackrabbit.spi.commons.query.QueryRootNode

Best Java code snippets using org.apache.jackrabbit.spi.commons.query.QueryRootNode.setLocationNode (Showing top 4 results out of 315)

origin: org.apache.jackrabbit/jackrabbit-spi-commons

/**
 * Creates the primary path query node.
 *
 * @param node xpath node representing the root of the parsed tree.
 * @return the path query node
 */
private PathQueryNode createPathQueryNode(SimpleNode node) {
  root.setLocationNode(factory.createPathQueryNode(root));
  node.childrenAccept(this, root.getLocationNode());
  return root.getLocationNode();
}
origin: apache/jackrabbit

/**
 * Creates the primary path query node.
 *
 * @param node xpath node representing the root of the parsed tree.
 * @return the path query node
 */
private PathQueryNode createPathQueryNode(SimpleNode node) {
  root.setLocationNode(factory.createPathQueryNode(root));
  node.childrenAccept(this, root.getLocationNode());
  return root.getLocationNode();
}
origin: apache/jackrabbit

public Object visit(ASTQuery node, Object data) {
  root = factory.createQueryRootNode();
  root.setLocationNode(factory.createPathQueryNode(root));
origin: org.apache.jackrabbit/jackrabbit-spi-commons

public Object visit(ASTQuery node, Object data) {
  root = factory.createQueryRootNode();
  root.setLocationNode(factory.createPathQueryNode(root));
org.apache.jackrabbit.spi.commons.queryQueryRootNodesetLocationNode

Javadoc

Sets the location node.

Popular methods of QueryRootNode

  • accept
  • getOrderNode
    Returns the order node or null if no order is specified.
  • dump
  • getLocationNode
    Returns the PathQueryNode or null if this query does not have a location node.
  • getSelectProperties
    Returns an array of select properties.
  • needsSystemTree
  • <init>
    Creates a new QueryRootNode instance.
  • addSelectProperty
    Adds a new select property to the query.
  • setOrderNode
    Sets a new order node.

Popular in Java

  • Making http requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
  • findViewById (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JButton (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now