public final class TextModule extends DataModule
Asset, and contains the text content (bytes), file name, etc.
| Modifier and Type | Field and Description |
|---|---|
static String |
ASSOCIATION_CUTPOINT |
static String |
FIRST_LEVEL_CUTPOINT |
static String |
HIERARCHY_CUTPOINT |
static String |
TM_CLASS |
DM_CLASSactiveEndDate, activeStartDate, ASSET_CLASS, comment, crxVersion, desc, extendedProperties, FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT, folderId, id, lastChangeBy, lastPublishDate, lastPublishedBy, lastReplicationAction, lastUpdateDate, lastVersionDate, lcat, name, PROPERTY_NAME_DESCRIPTION, PROPERTY_NAME_TITLE, PROPERTY_NAME_VERSION, READY_TO_PUBLISH_CUTPOINT, state, tags, title, transientProperties, ucat, updatedBy, version| Constructor and Description |
|---|
TextModule()
Default constructor
|
TextModule(String textModuleName,
String desc,
int version,
String comment,
int state,
Date start,
Date end,
String lastChange,
String dataDictionaryRef,
String fileName,
String tbxXml)
Constructor from parameters.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentXML()
Get the XML content of the Text module as a
String. |
byte[] |
getContentXMLBytes()
Get the XML content of the Text module as a byte array.
|
String |
getFileName()
Get the file name of the Text module.
|
boolean |
isNoPageBreak() |
void |
setContentXML(String string)
Sets the XML content of the Text module as a
String. |
void |
setContentXMLBytes(byte[] tBXXMLBytes)
Sets the XML content of the Text module as a byte array.
|
void |
setFileName(String fileName)
Sets the file name of the Text module.
|
void |
setNoPageBreak(boolean noPageBreak) |
addVariable, getDataDictionaryRef, getDataDictionaryRefs, getSchemaRef, getSchemaRefType, getVariableList, removeVariable, setDataDictionaryRef, setDataDictionaryRefs, setSchemaRef, setVariableListequals, getActiveEndDate, getActiveStartDate, getComment, getCrxVersion, getDesc, getDisplayField, getExtendedProperties, getFolderId, getId, getLastChangeBy, getLastPublishDate, getLastPublishedBy, getLastReplicationAction, getLastUpdateDate, getLastVersionDate, getLcat, getLocalizationPrefix, getLocalizationResourceInfoList, getName, getState, getTags, getTitle, getTransientProperties, getUcat, getUpdatedBy, getVersion, hashCode, setActiveEndDate, setActiveStartDate, setComment, setCrxVersion, setDesc, setExtendedProperties, setFolderId, setId, setLastChangeBy, setLastPublishDate, setLastPublishedBy, setLastReplicationAction, setLastUpdateDate, setLastVersionDate, setLcat, setLocalizationPrefix, setLocalizationResourceInfoList, setName, setState, setTags, setTitle, setTransientProperties, setUcat, setUpdatedBy, setVersionpublic static final String TM_CLASS
public static final String ASSOCIATION_CUTPOINT
public static final String HIERARCHY_CUTPOINT
public static final String FIRST_LEVEL_CUTPOINT
public TextModule()
public TextModule(String textModuleName, String desc, int version, String comment, int state, Date start, Date end, String lastChange, String dataDictionaryRef, String fileName, String tbxXml)
textModuleName - name of the Text module.desc - description of the Text module.version - version of the Text module.comment - comment for the Text module.state - state of the Text module.start - activation start date of the Text module.end - activation end date of the Text module.lastChange - user creating the Text module.dataDictionaryRef - SchemaRef (name) associated with the Text module.fileName - file name of the Text module.tbxXml - XML representing text module content. See the class level documentation for the XML structure.public String getFileName()
public void setFileName(String fileName)
fileName - The file name of the Text module.public String getContentXML()
String.String.TextModulepublic void setContentXML(String string)
String.string - The XML content of the Text module as a String.public byte[] getContentXMLBytes()
public void setContentXMLBytes(byte[] tBXXMLBytes)
tBXXMLBytes - The XML content of the Text module as a byte array.public boolean isNoPageBreak()
public void setNoPageBreak(boolean noPageBreak)
noPageBreak - the noPageBreak to setCopyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.