|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 String |
ASSOCIATION_CUTPOINT
|
static String |
FIRST_LEVEL_CUTPOINT
|
static String |
HIERARCHY_CUTPOINT
|
static String |
TM_CLASS
|
Fields inherited from class com.adobe.icc.dbforms.obj.DataModule |
---|
DM_CLASS |
Fields inherited from class com.adobe.icc.dbforms.obj.Asset |
---|
ASSET_CLASS |
Constructor Summary | |
---|---|
TextModule()
Default constructor |
|
TextModule(String textModuleName,
String desc,
int version,
String comment,
int state,
Date start,
Date end,
String lastChange,
Category ucat,
Category lcat,
String dataDictionaryRef,
String fileName,
String tbxXml)
Constructor from parameters. |
Method Summary | |
---|---|
String |
getFileName()
Get the file name of the Text module. |
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. |
void |
setFileName(String fileName)
Sets the file name of the Text module. |
void |
setTBXXML(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, getDesc, getExtendedProperties, getId, getLastChangeBy, getLastPublishDate, getLastUpdateDate, getLcat, getName, getState, getUcat, getUpdatedBy, getVersion, setActiveEndDate, setActiveStartDate, setComment, setDesc, setExtendedProperties, setId, setLastChangeBy, setLastPublishDate, setLastUpdateDate, setLcat, 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 String TM_CLASS
public static final String ASSOCIATION_CUTPOINT
public static final String HIERARCHY_CUTPOINT
public static final String FIRST_LEVEL_CUTPOINT
Constructor Detail |
---|
public TextModule()
public TextModule(String textModuleName, String desc, int version, String comment, int state, Date start, Date end, String lastChange, Category ucat, Category lcat, 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.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 String getFileName()
public void setFileName(String fileName)
fileName
- The file name of the Text module.public String getTBXXML()
String
.
String
.TextModule
public void setTBXXML(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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |