FileDocCategorySizeDatePackage
Selector.javaAPI DocJava SE 6 API8825Tue Jun 10 00:22:46 BST 2008com.sun.org.apache.xerces.internal.impl.xs.identity

Selector

public class Selector extends Object
Schema identity constraint selector.
xerces.internal
author
Andy Clark, IBM
version
$Id: Selector.java,v 1.2.6.1 2005/09/08 07:39:29 sunithareddy Exp $

Fields Summary
protected XPath
fXPath
XPath.
protected 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 com.sun.org.apache.xerces.internal.impl.xs.identity.XPathMatchercreateMatcher(com.sun.org.apache.xerces.internal.impl.xs.identity.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 com.sun.org.apache.xerces.internal.impl.xs.identity.IdentityConstraintgetIDConstraint()
Returns the identity constraint.

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

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

        return fXPath.toString();