public class ArtifactContent
extends java.lang.Object
| Constructor and Description |
|---|
ArtifactContent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
java.lang.String |
getBinary()
MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
MultiformatMessageString |
getRendered()
A message string or message format string rendered in multiple formats.
|
java.lang.String |
getText()
UTF-8-encoded content from a text artifact.
|
int |
hashCode() |
void |
setBinary(java.lang.String binary)
MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setRendered(MultiformatMessageString rendered)
A message string or message format string rendered in multiple formats.
|
void |
setText(java.lang.String text)
UTF-8-encoded content from a text artifact.
|
java.lang.String |
toString() |
public java.lang.String getText()
public void setText(java.lang.String text)
public java.lang.String getBinary()
public void setBinary(java.lang.String binary)
public MultiformatMessageString getRendered()
public void setRendered(MultiformatMessageString rendered)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object