public interface Content
Modifier and Type | Field and Description |
---|---|
static int |
BINARY_CONTENT
Indicates that this object contains binary content.
|
static int |
LOCREF_CONTENT
Indicates that this object contains a location reference content.
|
static int |
REFERENCE_CONTENT
Indicates that this object contains a URI reference to some content.
|
static int |
XML_CONTENT
Indicates that this object contains XML content.
|
Modifier and Type | Method and Description |
---|---|
int |
getContentType()
Gets the type of content contained in this object.
|
String |
getReference()
Gets the reference to the content data (a URI).
|
static final int REFERENCE_CONTENT
static final int BINARY_CONTENT
static final int XML_CONTENT
static final int LOCREF_CONTENT
int getContentType()
BINARY_CONTENT
, XML_CONTENT
,
REFERENCE_CONTENT
or LOCREF_CONTENT
.String getReference()
Copyright © 2016. All rights reserved.