public class SameNodeImpl extends ConstraintImpl implements javax.jcr.query.qom.SameNode
SameNodeImpl
...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 |
getPath()
Gets the absolute path.
|
String |
getSelectorName()
Gets the name of the selector against which to apply this constraint.
|
Name |
getSelectorQName()
Gets the name of the selector against which to apply this constraint.
|
String |
toString() |
getJCRName, getJCRPath, protect, quote, quote
public String getSelectorName()
getSelectorName
in interface javax.jcr.query.qom.SameNode
public String getPath()
getPath
in interface javax.jcr.query.qom.SameNode
public Name getSelectorQName()
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-2020 The Apache Software Foundation. All Rights Reserved.