public class Base64BinaryChunk extends java.lang.Object implements ExtensionElement
This class is immutable.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_LAST |
static java.lang.String |
ATTRIBUTE_NR |
static java.lang.String |
ATTRIBUTE_STREAM_ID |
static java.lang.String |
ELEMENT_CHUNK |
Constructor and Description |
---|
Base64BinaryChunk(java.lang.String text,
java.lang.String streamId,
int nr)
Creates the extension.
|
Base64BinaryChunk(java.lang.String text,
java.lang.String streamId,
int nr,
boolean last)
Creates the extension.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
int |
getNr()
Returns nr attribute.
|
java.lang.String |
getStreamId()
Returns streamId attribute.
|
java.lang.String |
getText()
Returns text attribute.
|
boolean |
isLast()
Returns last attribute.
|
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT_CHUNK
public static final java.lang.String ATTRIBUTE_STREAM_ID
public static final java.lang.String ATTRIBUTE_LAST
public static final java.lang.String ATTRIBUTE_NR
public Base64BinaryChunk(java.lang.String text, java.lang.String streamId, int nr, boolean last)
text
- value of text attributestreamId
- value of streamId attributenr
- value of nr attributelast
- value of last attributepublic Base64BinaryChunk(java.lang.String text, java.lang.String streamId, int nr)
text
- value of text attributestreamId
- value of streamId attributenr
- value of nr attributepublic java.lang.String getStreamId()
public boolean isLast()
public java.lang.String getText()
public int getNr()
public java.lang.String getElementName()
NamedElement
getElementName
in interface NamedElement
public java.lang.String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public XmlStringBuilder toXML()
Element