Search in sources :

Example 6 with NodeLocalName

use of javax.jcr.query.qom.NodeLocalName in project jackrabbit by apache.

the class QueryObjectModelFactoryTest method testNodeLocalNameWithSelector.

/**
 * Test case for {@link QueryObjectModelFactory#nodeLocalName(String)}
 */
public void testNodeLocalNameWithSelector() throws RepositoryException {
    NodeLocalName localName = qf.nodeLocalName(SELECTOR_NAME1);
    assertEquals("Wrong selector name", SELECTOR_NAME1, localName.getSelectorName());
}
Also used : NodeLocalName(javax.jcr.query.qom.NodeLocalName)

Aggregations

NodeLocalName (javax.jcr.query.qom.NodeLocalName)6 NodeName (javax.jcr.query.qom.NodeName)3 PropertyValue (javax.jcr.query.qom.PropertyValue)3 UnsupportedRepositoryOperationException (javax.jcr.UnsupportedRepositoryOperationException)2 Value (javax.jcr.Value)2 FullTextSearchScore (javax.jcr.query.qom.FullTextSearchScore)2 Length (javax.jcr.query.qom.Length)2 StaticOperand (javax.jcr.query.qom.StaticOperand)2 ValueFormatException (javax.jcr.ValueFormatException)1 NodeType (javax.jcr.nodetype.NodeType)1 PropertyDefinition (javax.jcr.nodetype.PropertyDefinition)1 InvalidQueryException (javax.jcr.query.InvalidQueryException)1 Row (javax.jcr.query.Row)1 And (javax.jcr.query.qom.And)1 BindVariableValue (javax.jcr.query.qom.BindVariableValue)1 Comparison (javax.jcr.query.qom.Comparison)1 Constraint (javax.jcr.query.qom.Constraint)1 DescendantNode (javax.jcr.query.qom.DescendantNode)1 DynamicOperand (javax.jcr.query.qom.DynamicOperand)1 LowerCase (javax.jcr.query.qom.LowerCase)1