public class SelectorImpl extends SourceImpl implements Selector
SelectorImpl
...resolver
Modifier and Type | Method and Description |
---|---|
Object |
accept(QOMTreeVisitor visitor,
Object data)
Accepts a
visitor and calls the appropriate visit method
depending on the type of this QOM node. |
String |
getNodeTypeName()
Gets the name of the required node type.
|
Name |
getNodeTypeQName()
Gets the name of the required node type.
|
String |
getSelectorName()
Gets the selector name.
|
Name |
getSelectorQName()
Gets the selector name.
|
SelectorImpl[] |
getSelectors() |
String |
toString() |
getJCRName, getJCRPath, protect, quote, quote
public Name getNodeTypeQName()
public Name getSelectorQName()
A selector's name can be used elsewhere in the query to identify the selector.
public SelectorImpl[] getSelectors()
getSelectors
in class SourceImpl
public String getNodeTypeName()
getNodeTypeName
in interface Selector
public String getSelectorName()
A selector's name can be used elsewhere in the query to identify the selector.
getSelectorName
in interface Selector
public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
visitor
and calls the appropriate visit method
depending on the type of this QOM node.accept
in class AbstractQOMNode
visitor
- the visitor.data
- user defined data, which is passed to the visit method.Exception
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.