FileDocCategorySizeDatePackage
Selector.javaAPI DocApache Xerces 3.0.19103Fri Sep 14 20:33:54 BST 2007org.apache.xerces.impl.xs.identity

Selector

public class Selector extends Object
Schema identity constraint selector.
xerces.internal
author
Andy Clark, IBM
version
$Id: Selector.java 572110 2007-09-02 19:04:44Z mrglavas $

Fields Summary
protected final XPath
fXPath
XPath.
protected final IdentityConstraint
fIdentityConstraint
Identity constraint.
protected IdentityConstraint
fIDConstraint
Constructors Summary
public Selector(XPath xpath, IdentityConstraint identityConstraint)
Constructs a selector.

        fXPath = xpath;
        fIdentityConstraint = identityConstraint;
    
Methods Summary
public XPathMatchercreateMatcher(FieldActivator activator, int initialDepth)
Creates a selector matcher.

param
activator The activator for this selector's fields.
param
initialDepth The depth in the document at which this matcher began its life; used in correctly handling recursive elements.

        return new Selector.Matcher(fXPath, activator, initialDepth);
    
public IdentityConstraintgetIDConstraint()
Returns the identity constraint.

        return fIdentityConstraint;
    
public org.apache.xerces.impl.xpath.XPathgetXPath()
Returns the selector XPath.

        return fXPath;
    
public java.lang.StringtoString()
Returns a string representation of this object.

        return fXPath.toString();