public class AndImpl extends ConstraintImpl implements And
AndImpl
...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. |
Constraint |
getConstraint1()
Gets the first constraint.
|
Constraint |
getConstraint2()
Gets the second constraint.
|
String |
toString() |
getJCRName, getJCRPath, protect, quote, quote
public Constraint getConstraint1()
getConstraint1
in interface And
public Constraint getConstraint2()
getConstraint2
in interface And
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.