Class Selector


  • public class Selector
    extends Object
    Schema identity constraint selector.
    Version:
    $Id$
    Author:
    Andy Clark, IBM
    • 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 String toString()
        Returns a string representation of this object.
        Overrides:
        toString in class Object