public interface AspectValue extends AspectHandler, java.io.Serializable
Each fact
may have a value for an
aspect
. Such a value is referred to as
an aspect value. An aspect defines a mapping from a fact to the associated
aspect value or to the missing aspect value for that aspect, for facts that
do not have a value defined for the aspect.
Aspect values have the following characteristics:
Note that aspect values store the information necessary to enable the determination of their appropriate human-readable labels in various locales. In some cases this information will best be a fragment index. In others, it might be an element QName or an XPointer expression. The details of the information recorded in an aspect value to enable determination of aspect value labels are private to aspect value implementations.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
This method must be implemented by each concrete aspect value class.
|
boolean |
isMissing()
This method must be implemented by each concrete aspect value class.
|
getAspectId
java.lang.String getId()
label handler
methods are more suitable for
obtaining human readable representations of aspect values.
A unique value for missing aspect values needs to be generated by
implementations of this method.boolean isMissing()