org.apache.xerces.impl.xs.identity.FieldActivator |
Known Indirect Subclasses |
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.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Request to activate the specified field.
| |||||||||||
Ends the value scope for the specified identity constraint.
| |||||||||||
Returns whether the given field is permitted to match a value.
| |||||||||||
Sets whether the given field is permitted to match a value.
| |||||||||||
Start the value scope for the specified identity constraint.
|
Request to activate the specified field. This method returns the matcher for the field. It's also important for the implementor to ensure that it marks whether a Field is permitted to match a value--that is, to call the setMayMatch(Field, Boolean) method.
field | The field to activate. |
---|---|
initialDepth | the 0-indexed depth in the instance document at which the Selector began to match. |
Ends the value scope for the specified identity constraint.
identityConstraint | The identity constraint. |
---|---|
initialDepth | the 0-indexed depth where the Selector began to match. |
Returns whether the given field is permitted to match a value.
field | The field that may be permitted to be matched. |
---|
Sets whether the given field is permitted to match a value. This should be used to catch instance documents that try and match a field several times in the same scope.
field | The field that may be permitted to be matched. |
---|---|
state | Boolean indiciating whether the field may be matched. |
Start the value scope for the specified identity constraint. This method is called when the selector matches in order to initialize the value store.
identityConstraint | The identity constraint. |
---|---|
initialDepth | the depth at which the selector began matching |