org.apache.xerces.validators.schema.identity
Class Selector

java.lang.Object
  |
  +--org.apache.xerces.validators.schema.identity.Selector

public class Selector
extends java.lang.Object

Schema identity constraint selector.

Version:
$Id: Selector.java 317201 2001-06-01 20:08:45Z neilg $
Author:
Andy Clark, IBM

Inner Class Summary
protected  class Selector.Matcher
          Selector matcher.
static class Selector.XPath
          Schema identity constraint selector XPath expression.
 
Field Summary
protected  IdentityConstraint fIdentityConstraint
          Identity constraint.
protected  Selector.XPath fXPath
          XPath.
 
Constructor Summary
Selector(Selector.XPath xpath, IdentityConstraint identityConstraint)
          Constructs a selector.
 
Method Summary
 XPathMatcher createMatcher(FieldActivator activator)
          Creates a selector matcher.
 IdentityConstraint getIdentityConstraint()
          Returns the identity constraint.
 XPath getXPath()
          Returns the selector XPath.
 java.lang.String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fXPath

protected Selector.XPath fXPath
XPath.

fIdentityConstraint

protected IdentityConstraint fIdentityConstraint
Identity constraint.
Constructor Detail

Selector

public Selector(Selector.XPath xpath,
                IdentityConstraint identityConstraint)
Constructs a selector.
Method Detail

getXPath

public XPath getXPath()
Returns the selector XPath.

getIdentityConstraint

public IdentityConstraint getIdentityConstraint()
Returns the identity constraint.

createMatcher

public XPathMatcher createMatcher(FieldActivator activator)
Creates a selector matcher.

toString

public java.lang.String toString()
Returns a string representation of this object.
Overrides:
toString in class java.lang.Object


Copyright 1999-2001 Apache XML Project. All Rights Reserved.