|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSKeyRef
This reference represents a key used to look up other elements. It does not infer any extra constraints other than if the match criteria exists then the values matched must exist within the refered identity constraint. For more information please refer to the xs:keyref tag.
XSElement
,
XSIdentityConstraint
Method Summary | |
---|---|
XSAnnotation[] |
getAnnotations()
Returns the array of annotations. |
XSIdentityConstraint |
getIdentityConstraint()
Returns the name of the unique or key identity constraint that this keyref references. |
XSElementOrAttrRef[][] |
getMatchCriteria()
Returns an array of references to element and attributes. |
java.lang.String |
getName()
Returns the name of this constraint. |
Methods inherited from interface org.apache.ws.jaxme.xs.XSOpenAttrs |
---|
getOpenAttributes |
Methods inherited from interface org.apache.ws.jaxme.xs.XSObject |
---|
getLocator, getParentObject, getXSSchema, isTopLevelObject, validate |
Method Detail |
---|
XSAnnotation[] getAnnotations()
java.lang.String getName()
XSIdentityConstraint getIdentityConstraint()
XSElementOrAttrRef[][] getMatchCriteria()
The result is a two dimensional array, the first dimension corresponds to each xs:field used to declare the constraint. The second dimension is for each 'or' used within the fields xpath query.
Only tags and attributes that were matched by the xpath will be in the result, any xpath that fails to match anything will not be stored in this array.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |