Package net.dona.doip.client
Class Element
java.lang.Object
net.dona.doip.client.Element
A Java representation of an element of a Digital Object.
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.google.gson.JsonObject
The attributes of the element.The id of the element.The bytes of the element, as anInputStream
.The size of the element.The type of the element. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
id
The id of the element. -
length
The size of the element. May be null when the size is unknown. -
type
The type of the element. -
attributes
public com.google.gson.JsonObject attributesThe attributes of the element. -
in
The bytes of the element, as anInputStream
.
-
-
Constructor Details
-
Element
public Element()
-