public class

Selector

extends Object
java.lang.Object
   ↳ org.apache.xerces.impl.xs.identity.Selector

Class Overview

Schema identity constraint selector.

Summary

Nested Classes
class Selector.Matcher Selector matcher. 
class Selector.XPath Schema identity constraint selector XPath expression. 
Fields
protected IdentityConstraint fIDConstraint
protected IdentityConstraint fIdentityConstraint Identity constraint.
protected Selector.XPath fXPath XPath.
Public Constructors
Selector(Selector.XPath xpath, IdentityConstraint identityConstraint)
Constructs a selector.
Public Methods
XPathMatcher createMatcher(FieldActivator activator, int initialDepth)
Creates a selector matcher.
IdentityConstraint getIDConstraint()
Returns the identity constraint.
XPath getXPath()
Returns the selector XPath.
String toString()
Returns a string representation of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected IdentityConstraint fIDConstraint

protected IdentityConstraint fIdentityConstraint

Identity constraint.

protected Selector.XPath fXPath

XPath.

Public Constructors

public Selector (Selector.XPath xpath, IdentityConstraint identityConstraint)

Constructs a selector.

Public Methods

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.

public IdentityConstraint getIDConstraint ()

Returns the identity constraint.

public XPath getXPath ()

Returns the selector XPath.

public String toString ()

Returns a string representation of this object.