public interface INameable extends IResource
COPY_ALL, COPY_CONTENT, COPY_PROPERTIES, COPY_SEGMENTATION, COPY_SEGMENTED_CONTENT, CREATE_EMPTY| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType()
Gets the type of content of this resource.
|
String |
getName()
Gets the name of this resource.
|
String |
getType()
Gets the type information associated with this resource.
|
boolean |
isTranslatable()
Indicates if the content of this resource is translatable.
|
boolean |
preserveWhitespaces()
Indicates if the white-spaces in the content of this resource should be preserved.
|
void |
setIsTranslatable(boolean value)
Sets the flag indicating if the content of this resource is translatable.
|
void |
setMimeType(String value)
Sets the type of content of this resource.
|
void |
setName(String name)
Sets the name of this resource.
|
void |
setPreserveWhitespaces(boolean value)
sets the flag indicating if the white-spaces in the content of this resource should be preserved.
|
void |
setType(String value)
Sets the type information associated with this resource.
|
copy, getProperties, getProperty, getPropertyNames, hasProperty, propertyIterator, removeProperty, setPropertyannotationIterator, clear, copy, getAnnotation, getAnnotations, getAnnotationsTypesAsSet, hasAnnotation, hasAnnotations, remove, setAnnotationgetSkeleton, setSkeletonString getName()
void setName(String name)
name - New name to set.String getType()
void setType(String value)
value - The new type information.String getMimeType()
void setMimeType(String value)
value - The new type of content of this resource.boolean isTranslatable()
void setIsTranslatable(boolean value)
value - True to indicate that the content of this resource is translatable.boolean preserveWhitespaces()
void setPreserveWhitespaces(boolean value)
value - True to indicate that the white-spaces in the content of this resource should be preserved.Copyright © 2022. All rights reserved.