Class Selector
java.lang.Object
org.apache.xerces.impl.xs.identity.Selector
Schema identity constraint selector.
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: Selector.java 572110 2007-09-02 19:04:44Z mrglavas $
- Author:
- Andy Clark, IBM
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
Selector matcher.static class
Schema identity constraint selector XPath expression. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IdentityConstraint
protected final IdentityConstraint
Identity constraint.protected final Selector.XPath
XPath. -
Constructor Summary
ConstructorsConstructorDescriptionSelector
(Selector.XPath xpath, IdentityConstraint identityConstraint) Constructs a selector. -
Method Summary
Modifier and TypeMethodDescriptioncreateMatcher
(FieldActivator activator, int initialDepth) Creates a selector matcher.Returns the identity constraint.getXPath()
Returns the selector XPath.toString()
Returns a string representation of this object.
-
Field Details
-
fXPath
XPath. -
fIdentityConstraint
Identity constraint. -
fIDConstraint
-
-
Constructor Details
-
Selector
Constructs a selector.
-
-
Method Details
-
getXPath
Returns the selector XPath. -
getIDConstraint
Returns the identity constraint. -
createMatcher
Creates a selector matcher.- Parameters:
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.
-
toString
Returns a string representation of this object.
-