public class StaticResource extends MetadataWithContent
| Constructor and Description |
|---|
StaticResource()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
StaticResourceCacheControl |
getCacheControl() |
String |
getContentType() |
String |
getDescription() |
void |
load(XmlInputStream __in,
TypeMapper __typeMapper) |
protected void |
loadFields(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setCacheControl(StaticResourceCacheControl cacheControl) |
protected void |
setCacheControl(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setContentType(String contentType) |
protected void |
setContentType(XmlInputStream __in,
TypeMapper __typeMapper) |
void |
setDescription(String description) |
protected void |
setDescription(XmlInputStream __in,
TypeMapper __typeMapper) |
String |
toString() |
void |
write(QName __element,
XmlOutputStream __out,
TypeMapper __typeMapper) |
protected void |
writeFields(XmlOutputStream __out,
TypeMapper __typeMapper) |
getContent, setContent, setContentgetFullName, setFullName, setFullNamepublic StaticResourceCacheControl getCacheControl()
public void setCacheControl(StaticResourceCacheControl cacheControl)
protected void setCacheControl(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
IOExceptionConnectionExceptionpublic String getContentType()
public void setContentType(String contentType)
protected void setContentType(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
IOExceptionConnectionExceptionpublic String getDescription()
public void setDescription(String description)
protected void setDescription(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
IOExceptionConnectionExceptionpublic void write(QName __element, XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
write in interface XMLizablewrite in class MetadataWithContentIOExceptionprotected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws IOException
writeFields in class MetadataWithContentIOExceptionpublic void load(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
load in interface XMLizableload in class MetadataWithContentIOExceptionConnectionExceptionprotected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException
loadFields in class MetadataWithContentIOExceptionConnectionExceptionpublic String toString()
toString in class MetadataWithContentCopyright © 2017. All Rights Reserved.