public class Selector extends 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 String |
fXpathDefaultNamespace
XPath default namespace.
|
| Constructor and Description |
|---|
Selector(Selector.XPath xpath,
IdentityConstraint identityConstraint,
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.
|
String |
getXPathDefaultNamespace()
Return value of xpathDefaultNamespace.
|
String |
toString()
Returns a string representation of this object.
|
protected final Selector.XPath fXPath
protected final IdentityConstraint fIdentityConstraint
protected IdentityConstraint fIDConstraint
protected String fXpathDefaultNamespace
public Selector(Selector.XPath xpath, IdentityConstraint identityConstraint, 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 String toString()
public String getXPathDefaultNamespace()
Copyright © 2013. All rights reserved.