Package net.dona.doip.client
Class Element
- java.lang.Object
-
- net.dona.doip.client.Element
-
public class Element extends java.lang.Object
A Java representation of an element of a Digital Object.
-
-
Field Summary
Fields Modifier and Type Field Description com.google.gson.JsonObject
attributes
The attributes of the element.java.lang.String
id
The id of the element.java.io.InputStream
in
The bytes of the element, as anInputStream
.java.lang.Long
length
The size of the element.java.lang.String
type
The type of the element.
-
Constructor Summary
Constructors Constructor Description Element()
-
-
-
Field Detail
-
id
public java.lang.String id
The id of the element.
-
length
public java.lang.Long length
The size of the element. May be null when the size is unknown.
-
type
public java.lang.String type
The type of the element.
-
attributes
public com.google.gson.JsonObject attributes
The attributes of the element.
-
in
public transient java.io.InputStream in
The bytes of the element, as anInputStream
.
-
-