Interface ITagWriter


public interface ITagWriter
An interface that allows tag creation and modification.
Since:
5.5
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    createTag(String id, int len)
    Creates and returns a new tag for the receiver.
    boolean
    Sets the receiver's tags to only the ones provided.
  • Method Details

    • createTag

      IWritableTag createTag(String id, int len)
      Creates and returns a new tag for the receiver. E.g., if this writer is associated with a persistent binding, then returned tag will read and write from the PDOM database.
      Parameters:
      id - A string that uniquely identifies the tag to be returned. This value will be used by the contributor when to find the tag (see ITagReader.getTag(String)).
      len - The number of bytes that should be allocated to store the tag's data.
    • setTags

      boolean setTags(Iterable<ITag> tags)
      Sets the receiver's tags to only the ones provided. Deletes existing tags that are not in the argument list.