public class DescendantNodeImpl extends ConstraintImpl implements DescendantNode
DescendantNodeImpl
...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 |
getAncestorPath()
Gets the absolute path.
|
Path |
getQPath()
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 DescendantNode
public String getAncestorPath()
getAncestorPath
in interface DescendantNode
public Name getSelectorQName()
public Path getQPath()
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.