public class AndImpl extends ConstraintImpl implements javax.jcr.query.qom.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. |
javax.jcr.query.qom.Constraint |
getConstraint1()
Gets the first constraint.
|
javax.jcr.query.qom.Constraint |
getConstraint2()
Gets the second constraint.
|
String |
toString() |
getJCRName, getJCRPath, protect, quote, quote
public javax.jcr.query.qom.Constraint getConstraint1()
getConstraint1
in interface javax.jcr.query.qom.And
public javax.jcr.query.qom.Constraint getConstraint2()
getConstraint2
in interface javax.jcr.query.qom.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-2020 The Apache Software Foundation. All Rights Reserved.