Package net.sf.saxon.om

## Class CopyOptions

- java.lang.Object
- - net.sf.saxon.om.CopyOptions

-     public abstract class CopyOptions
      extends java.lang.Object

  Non-instantiable class to define options for the `NodeInfo.copy(net.sf.saxon.event.Receiver, int, net.sf.saxon.s9api.Location)` method

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static int` | `ALL_NAMESPACES` |
    `static int` | `FOR_UPDATE` |
    `static int` | `TYPE_ANNOTATIONS` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CopyOptions()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static int` | `getStartDocumentProperties​(int copyOptions)` |
    `static boolean` | `includes​(int options, int option)` |

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

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

- - ### Field Detail

    - #### ALL_NAMESPACES

          public static final int ALL_NAMESPACES

      See Also:
        Constant Field Values

    - #### TYPE_ANNOTATIONS

          public static final int TYPE_ANNOTATIONS

      See Also:
        Constant Field Values

    - #### FOR_UPDATE

          public static final int FOR_UPDATE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### CopyOptions

          public CopyOptions()

  - ### Method Detail

    - #### includes

          public static boolean includes​(int options,
                                         int option)

    - #### getStartDocumentProperties

          public static int getStartDocumentProperties​(int copyOptions)