public class Selector
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Selector.Matcher
Selector matcher.
|
static class |
Selector.XPath
Schema identity constraint selector XPath expression.
|
Modifier and Type | Field and Description |
---|---|
protected IdentityConstraint |
fIDConstraint |
protected IdentityConstraint |
fIdentityConstraint
Identity constraint.
|
protected Selector.XPath |
fXPath
XPath.
|
Constructor and Description |
---|
Selector(Selector.XPath xpath,
IdentityConstraint identityConstraint)
Constructs a selector.
|
Modifier and Type | Method and Description |
---|---|
XPathMatcher |
createMatcher(FieldActivator activator,
int initialDepth)
Creates a selector matcher.
|
IdentityConstraint |
getIDConstraint()
Returns the identity constraint.
|
XPath |
getXPath()
Returns the selector XPath.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
protected final Selector.XPath fXPath
protected final IdentityConstraint fIdentityConstraint
protected IdentityConstraint fIDConstraint
public Selector(Selector.XPath xpath, IdentityConstraint identityConstraint)
public XPath getXPath()
public IdentityConstraint getIDConstraint()
public XPathMatcher createMatcher(FieldActivator activator, int initialDepth)
activator
- The activator for this selector's fields.initialDepth
- The depth in the document at which this matcher began its life;
used in correctly handling recursive elements.public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.