com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class ArtifactCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Artifact>, com.aspose.ms.System.Collections.IEnumerable<Artifact>, Iterable<Artifact>


    public class ArtifactCollection
    extends Object
    implements com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
    Class represents artifact collection.
    • Method Detail

      • isSynchronized

        public boolean isSynchronized()

        Is this object synchronized.

        Returns:
        boolean value
      • size

        public int size()

        Gets count of artifacts in collection.

        Specified by:
        size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
        Returns:
        int value
      • getSyncRoot

        public Object getSyncRoot()

        Gets synchronization object of the collection.

        Returns:
        Object for synchronization
      • iterator_Rename_Namesake

        public com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()
        For Internal usage only.

        Gets enumerator for the collection.

        Returns:
        Enumerator object.
      • iterator

        public com.aspose.ms.System.Collections.Generic.IGenericEnumerator<Artifact> iterator()

        Gets enumerator for the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<Artifact>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<Artifact>
        Specified by:
        iterator in interface Iterable<Artifact>
        Returns:
        Enumerator object.
      • get_Item

        public Artifact get_Item(int index)

        Gets artifact by index. Index is started from 1.

        Parameters:
        index - Index of the artifact.
        Returns:
        Artifact on the page.
      • add

        public void add(Artifact artifact)

        Adds artifacts to the collection.

        *
        Parameters:
        artifact - Artifact which should be added to collection.
      • findByValue

        public List<Artifact> findByValue(String name,
                                          String expectedValue)

        Finds artifacts by custom value.

        Parameters:
        name - Name of custom value.
        expectedValue - Value to find.
        Returns:
        List of found artifacts.
      • isReadOnly

        public boolean isReadOnly()

        Gets if collection is readonly. Always returns false.

        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
      • addItem

        public void addItem(Artifact artifact)
        Specified by:
        addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
      • delete

        public void delete(Artifact artifact)

        Deletes specified artifact.

        Parameters:
        artifact - value
      • update

        public void update(Artifact artifact)

        Update artifact inside the collection.

        Parameters:
        artifact - Artifact to be updated.
      • delete

        public void delete(int index)

        Deletes artifact by its index.

        Parameters:
        index - Index of artifact to delete.
      • clear

        public void clear()
        Not Supported yet.

        Clears collection. Method is not supported.

        Specified by:
        clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
      • containsItem

        public boolean containsItem(Artifact artifact)
        Not Supported yet.
        Specified by:
        containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
        Parameters:
        artifact - Not Supported yet.
        Returns:
        Not Supported yet.
      • copyToTArray

        public void copyToTArray(Artifact[] artifacts,
                                 int i)
        C copy artifacts into array.
        Specified by:
        copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
        Parameters:
        artifacts - Artifact[] instance
        i - int value
      • removeItem

        public boolean removeItem(Artifact artifact)
        Not Supported yet.
        Specified by:
        removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<Artifact>
        Parameters:
        artifact - Not Supported yet.
        Returns:
        Not Supported yet.
      • remove

        public boolean remove(Artifact item)

        Deletes specified artifact.

        Parameters:
        item - Artifact which will be deleted.
        Returns:
        boolean value