org.apache.xerces.impl.xs.identity

## Class Field

- java.lang.Object
- - org.apache.xerces.impl.xs.identity.Field

-     public class Field
      extends java.lang.Object

  Schema identity constraint field.
  Version:
    $Id: Field.java 1136825 2011-06-17 09:37:42Z mukulg $
  Author:
    Andy Clark, IBM

  # INTERNAL:

    Usage of this class is not supported. It may be altered or removed at any time.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `protected class` | `Field.Matcher` Field matcher.
    `static class` | `Field.XPath` Field XPath.

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected IdentityConstraint` | `fIdentityConstraint` Identity constraint.
    `protected Field.XPath` | `fXPath` Field XPath.
    `protected java.lang.String` | `fXpathDefaultNamespace` XPath default namespace.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Field(Field.XPath xpath, IdentityConstraint identityConstraint, java.lang.String xpathDefaultNamespace)` Constructs a field.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `XPathMatcher` | `createMatcher(ValueStore store)` Creates a field matcher.
    `IdentityConstraint` | `getIdentityConstraint()` Returns the identity constraint.
    `XPath` | `getXPath()` Returns the field XPath.
    `java.lang.String` | `getXPathDefaultNamespace()` Return value of xpathDefaultNamespace.
    `java.lang.String` | `toString()` Returns a string representation of this object.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### fXPath

          protected final Field.XPath fXPath

      Field XPath.

    - #### fIdentityConstraint

          protected final IdentityConstraint fIdentityConstraint

      Identity constraint.

    - #### fXpathDefaultNamespace

          protected java.lang.String fXpathDefaultNamespace

      XPath default namespace.

  - ### Constructor Detail

    - #### Field

          public Field(Field.XPath xpath,
               IdentityConstraint identityConstraint,
               java.lang.String xpathDefaultNamespace)

      Constructs a field.

  - ### Method Detail

    - #### getXPath

          public XPath getXPath()

      Returns the field XPath.

    - #### getIdentityConstraint

          public IdentityConstraint getIdentityConstraint()

      Returns the identity constraint.

    - #### createMatcher

          public XPathMatcher createMatcher(ValueStore store)

      Creates a field matcher.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object.
      Overrides:
        `toString` in class `java.lang.Object`

    - #### getXPathDefaultNamespace

          public java.lang.String getXPathDefaultNamespace()

      Return value of xpathDefaultNamespace.

Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.