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, quote
public String getSelectorName()
getSelectorName
in interface ChildNode
public String getParentPath()
getParentPath
in interface ChildNode
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–2021 The Apache Software Foundation. All rights reserved.