Class Selector
- java.lang.Object
-
- org.apache.xerces.impl.xs.identity.Selector
-
public class Selector extends java.lang.ObjectSchema 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 Classes Modifier and Type Class Description classSelector.MatcherSelector matcher.static classSelector.XPathSchema identity constraint selector XPath expression.
-
Field Summary
Fields Modifier and Type Field Description protected IdentityConstraintfIDConstraintprotected IdentityConstraintfIdentityConstraintIdentity constraint.protected Selector.XPathfXPathXPath.
-
Constructor Summary
Constructors Constructor Description Selector(Selector.XPath xpath, IdentityConstraint identityConstraint)Constructs a selector.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XPathMatchercreateMatcher(FieldActivator activator, int initialDepth)Creates a selector matcher.IdentityConstraintgetIDConstraint()Returns the identity constraint.XPathgetXPath()Returns the selector XPath.java.lang.StringtoString()Returns a string representation of this object.
-
-
-
Field Detail
-
fXPath
protected final Selector.XPath fXPath
XPath.
-
fIdentityConstraint
protected final IdentityConstraint fIdentityConstraint
Identity constraint.
-
fIDConstraint
protected IdentityConstraint fIDConstraint
-
-
Constructor Detail
-
Selector
public Selector(Selector.XPath xpath, IdentityConstraint identityConstraint)
Constructs a selector.
-
-
Method Detail
-
getXPath
public XPath getXPath()
Returns the selector XPath.
-
getIDConstraint
public IdentityConstraint getIDConstraint()
Returns the identity constraint.
-
createMatcher
public XPathMatcher createMatcher(FieldActivator activator, int initialDepth)
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
public java.lang.String toString()
Returns a string representation of this object.- Overrides:
toStringin classjava.lang.Object
-
-