org.apache.xerces.impl.xs.identity

Class Field


public class Field
extends java.lang.Object

Schema identity constraint field.

Version:
$Id: Field.java,v 1.14 2003/11/11 20:14:59 sandygao Exp $

Author:
Andy Clark, IBM

Nested Class Summary

protected class
Field.Matcher
Field matcher.
static class
Field.XPath
Field XPath.

Field Summary

protected IdentityConstraint
fIdentityConstraint
Identity constraint.
protected Field.XPath
fXPath
Field XPath.
protected boolean
mayMatch

Constructor Summary

Field(Field.XPath xpath, IdentityConstraint identityConstraint)
Constructs a field.

Method Summary

XPathMatcher
createMatcher(ValueStore store)
Creates a field matcher.
IdentityConstraint
getIdentityConstraint()
Returns the identity constraint.
XPath
getXPath()
Returns the field XPath.
boolean
mayMatch()
void
setMayMatch(boolean b)
String
toString()
Returns a string representation of this object.

Field Details

fIdentityConstraint

protected IdentityConstraint fIdentityConstraint
Identity constraint.


fXPath

protected Field.XPath fXPath
Field XPath.


mayMatch

protected boolean mayMatch

Constructor Details

Field

public Field(Field.XPath xpath,
             IdentityConstraint identityConstraint)
Constructs a field.

Method Details

createMatcher

public XPathMatcher createMatcher(ValueStore store)
Creates a field matcher.


getIdentityConstraint

public IdentityConstraint getIdentityConstraint()
Returns the identity constraint.


getXPath

public XPath getXPath()
Returns the field XPath.


mayMatch

public boolean mayMatch()


setMayMatch

public void setMayMatch(boolean b)


toString

public String toString()
Returns a string representation of this object.


Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.