Class Element

java.lang.Object
net.dona.doip.client.Element

public class Element extends Object
A Java representation of an element of a Digital Object.
  • Field Details

    • id

      public String id
      The id of the element.
    • length

      public Long length
      The size of the element. May be null when the size is unknown.
    • type

      public String type
      The type of the element.
    • attributes

      public com.google.gson.JsonObject attributes
      The attributes of the element.
    • in

      public transient InputStream in
      The bytes of the element, as an InputStream.
  • Constructor Details

    • Element

      public Element()