com.jaxfront.core.schema
Class SchemaKeyRef
java.lang.Object
com.jaxfront.core.schema.SchemaKey
com.jaxfront.core.schema.SchemaKeyRef
public class SchemaKeyRef
- extends SchemaKey
Represents an XML Schema keyRef definition. A schema keyRef may refer a schema key.
- Version:
- 1.4
- See Also:
SchemaKey
Constructor Summary |
SchemaKeyRef(SchemaNode schemaElement,
java.lang.String name,
java.lang.String keyRefName,
java.lang.String selectorXPath,
java.lang.String[] fields)
Creates a schema key reference base on the passing values. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaKeyRef
public SchemaKeyRef(SchemaNode schemaElement,
java.lang.String name,
java.lang.String keyRefName,
java.lang.String selectorXPath,
java.lang.String[] fields)
- Creates a schema key reference base on the passing values.
- Parameters:
schemaElement
- holder of the key reference in the XMLSchemaname
- name of the key referencekeyName
- name of the key to referselectorXPath
- xpath of the reference selectorfields
- referenced fields
getKey
public SchemaKey getKey()
- Returns the endpoint of this key reference, the key itself.
getKeyName
public java.lang.String getKeyName()