org.apache.ws.jaxme.xs
public interface XSKeyRef extends XSOpenAttrs
See Also: XSElement
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. |
String | getName()
Returns the name of this constraint. |
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.