Top Description Methods
org.apache.xerces.impl.xs.identity

public Interface FieldActivator

Known Direct Implementers
org.apache.xerces.impl.xs.XMLSchemaValidator

Interface for a field activator. The field activator is responsible for activating fields within a specific scope; the caller merely requests the fields to be activated.
Author
Andy Clark, IBM
Version
$Id: FieldActivator.java 520039 2007-03-19 18:34:38Z mrglavas $

Method Summary

Modifier and TypeMethod and Description
public XPathMatcher
activateField(Field
The field to activate.
field
,
int
the 0-indexed depth in the instance document at which the Selector began to match.
initialDepth
)

Request to activate the specified field.

public void
endValueScopeFor(IdentityConstraint
The identity constraint.
identityConstraint
,
int
the 0-indexed depth where the Selector began to match.
initialDepth
)

Ends the value scope for the specified identity constraint.

public void
startValueScopeFor(IdentityConstraint
The identity constraint.
identityConstraint
,
int
the depth at which the selector began matching
initialDepth
)

Start the value scope for the specified identity constraint.

Method Detail

activateFieldback to summary
public XPathMatcher activateField(Field field, int initialDepth)

Request to activate the specified field. This method returns the matcher for the field.

Parameters
field:Field

The field to activate.

initialDepth:int

the 0-indexed depth in the instance document at which the Selector began to match.

endValueScopeForback to summary
public void endValueScopeFor(IdentityConstraint identityConstraint, int initialDepth)

Ends the value scope for the specified identity constraint.

Parameters
identityConstraint:IdentityConstraint

The identity constraint.

initialDepth:int

the 0-indexed depth where the Selector began to match.

startValueScopeForback to summary
public void startValueScopeFor(IdentityConstraint identityConstraint, int initialDepth)

Start the value scope for the specified identity constraint. This method is called when the selector matches in order to initialize the value store.

Parameters
identityConstraint:IdentityConstraint

The identity constraint.

initialDepth:int

the depth at which the selector began matching