|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.icc.dbforms.obj.Asset
com.adobe.icc.dbforms.obj.DataModule
com.adobe.icc.dbforms.obj.TextModule
public final class TextModule
POJO representation of a Text module.
Extends basic attributes from Asset, and contains the text content (bytes), file name, etc.
The Text content is in the form of a well defined XML. A sample XML content:
<content>
<guid/>
<name>text_test</name>
<desc>the description</desc>
<plainText>This is a paragraph with a variable: {^var^}</plainText>
<flashRichText><TEXTFORMAT LEADING="2" TABSTOPS="36,72,108,144,180,216,252,288,324,360,396,432,468,504,540,576,612,648,684,720">
<P ALIGN="LEFT"><FONT FACE="Times New Roman" SIZE="12" COLOR="#000000" LETTERSPACING="0" KERNING="0">
This is a paragraph with a variable: {^var^}</FONT></P></TEXTFORMAT></flashRichText>
<xfaXhtml><body xfa:APIVersion="2.4.5277.0" xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
<p xml:space="preserve" style="text-align:left"><span style="letter-spacing: 0px; color: #000000; font-size: 12px; font-family: Times New Roman; xfa-spacerun:yes">
This is a paragraph with a variable: {^var^}</span></p></body></xfaXhtml>
</content>
| Field Summary | |
|---|---|
static java.lang.String |
ASSOCIATION_CUTPOINT
For internal use. |
static java.lang.String |
FIRST_LEVEL_CUTPOINT
For internal use. |
static java.lang.String |
HIERARCHY_CUTPOINT
For internal use. |
static java.lang.String |
TM_CLASS
For internal use. |
| Fields inherited from class com.adobe.icc.dbforms.obj.DataModule |
|---|
DM_CLASS |
| Fields inherited from class com.adobe.icc.dbforms.obj.Asset |
|---|
ASSET_CLASS, FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT |
| Constructor Summary | |
|---|---|
TextModule()
Default constructor |
|
TextModule(java.lang.String textModuleName,
java.lang.String desc,
int version,
java.lang.String comment,
int state,
java.util.Date start,
java.util.Date end,
java.lang.String lastChange,
Category ucat,
Category lcat,
java.lang.String dataDictionaryRef,
java.lang.String fileName,
java.lang.String tbxXml)
Constructor from parameters. |
|
| Method Summary | |
|---|---|
java.lang.String |
getFileName()
Get the file name of the Text module. |
java.lang.String |
getTBXXML()
Get the XML content of the Text module as a String. |
byte[] |
getTBXXMLBytes()
Get the XML content of the Text module as a byte array. |
boolean |
isNoPageBreak()
|
void |
setFileName(java.lang.String fileName)
Sets the file name of the Text module. |
void |
setNoPageBreak(boolean noPageBreak)
|
void |
setTBXXML(java.lang.String string)
Sets the XML content of the Text module as a String. |
void |
setTBXXMLBytes(byte[] tBXXMLBytes)
Sets the XML content of the Text module as a byte array. |
| Methods inherited from class com.adobe.icc.dbforms.obj.DataModule |
|---|
addVariable, getDataDictionaryRef, getDataDictionaryRefs, getVariableList, removeVariable, setDataDictionaryRef, setDataDictionaryRefs, setVariableList |
| Methods inherited from class com.adobe.icc.dbforms.obj.Asset |
|---|
getActiveEndDate, getActiveStartDate, getComment, getCrxVersion, getDesc, getExtendedProperties, getId, getLastChangeBy, getLastPublishDate, getLastUpdateDate, getLcat, getLocalizationPrefix, getLocalizationResourceInfoList, getName, getState, getUcat, getUpdatedBy, getVersion, setActiveEndDate, setActiveStartDate, setComment, setCrxVersion, setDesc, setExtendedProperties, setId, setLastChangeBy, setLastPublishDate, setLastUpdateDate, setLcat, setLocalizationPrefix, setLocalizationResourceInfoList, setName, setState, setUcat, setUpdatedBy, setVersion |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TM_CLASS
public static final java.lang.String ASSOCIATION_CUTPOINT
public static final java.lang.String HIERARCHY_CUTPOINT
public static final java.lang.String FIRST_LEVEL_CUTPOINT
| Constructor Detail |
|---|
public TextModule()
public TextModule(java.lang.String textModuleName,
java.lang.String desc,
int version,
java.lang.String comment,
int state,
java.util.Date start,
java.util.Date end,
java.lang.String lastChange,
Category ucat,
Category lcat,
java.lang.String dataDictionaryRef,
java.lang.String fileName,
java.lang.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.ucat - Category of the Text module.lcat - Subcategory of the Text module.dataDictionaryRef - DataDictionary (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.| Method Detail |
|---|
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
fileName - The file name of the Text module.public java.lang.String getTBXXML()
String.
String.TextModulepublic void setTBXXML(java.lang.String string)
String.
string - The XML content of the Text module as a String.public byte[] getTBXXMLBytes()
public void setTBXXMLBytes(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 set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||