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.
|
protected java.lang.String |
fXpathDefaultNamespace
XPath default namespace.
|
Constructor and Description |
---|
Selector(Selector.XPath xpath,
IdentityConstraint identityConstraint,
java.lang.String xpathDefaultNamespace)
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 |
getXPathDefaultNamespace()
Return value of xpathDefaultNamespace.
|
java.lang.String |
toString()
Returns a string representation of this object.
|
protected final Selector.XPath fXPath
protected final IdentityConstraint fIdentityConstraint
protected IdentityConstraint fIDConstraint
protected java.lang.String fXpathDefaultNamespace
public Selector(Selector.XPath xpath, IdentityConstraint identityConstraint, java.lang.String xpathDefaultNamespace)
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
public java.lang.String getXPathDefaultNamespace()
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.