FileDocCategorySizeDatePackage
Selector.javaAPI DocJava SE 5 API10780Fri Aug 26 14:55:50 BST 2005com.sun.org.apache.xerces.internal.impl.xs.identity

Selector

public class Selector extends Object
Schema identity constraint selector.
author
Andy Clark, IBM
version
$Id: Selector.java,v 1.16 2003/11/15 22:03:22 neilg 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();