public final class TextModule extends DataModule
Asset, and contains the text content (bytes), file name, etc.
DM_CLASSactiveEndDate, activeStartDate, comment, crxVersion, desc, extendedProperties, folderId, id, lastChangeBy, lastPublishDate, lastPublishedBy, lastReplicationAction, lastUpdateDate, lastVersionDate, lcat, name, 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, 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, setUcat, setUpdatedBy, setVersionpublic 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–2022 Adobe Systems Inc.. All rights reserved.