public class ChildNodeImpl extends ConstraintImpl implements ChildNode
ChildNodeImpl...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 |
getParentPath()
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, quotepublic String getSelectorName()
getSelectorName in interface ChildNodepublic String getParentPath()
getParentPath in interface ChildNodepublic 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 AbstractQOMNodevisitor - the visitor.data - user defined data, which is passed to the visit method.ExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.