Interface AttributesWrapper

    • Method Detail

      • wrap

        static <T extends AttributesWrapper> T wrap​(org.dcm4che3.data.Attributes attributes,
                                                    java.lang.Class<T> wrapperClass)
      • getAttributes

        org.dcm4che3.data.Attributes getAttributes()
        Get the wrapped Attributes.
        Returns:
        the wrapped Attributes object.
      • copy

        default <T extends AttributesWrapper> T copy​(java.lang.Class<T> wrapperClass)
        Returns a new Attributes wrapper instance which wraps a copy of the attributes contained in this Attributes wrapper. (see Attributes(Attributes)
        Type Parameters:
        T - the Type of the class to wrap new Attributes object in.
        Parameters:
        wrapperClass - the class to wrap the new Attributes object in.
        Returns:
        a new instance of an Attributes wrapper implementation which wraps a copy of the attributes contained in this Attributes wrapper.
      • isEmpty

        default boolean isEmpty()
        See also Attributes.isEmpty().
        Returns:
        true if the wrapped attributes are empty, false otherwise.