|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.beans.infomining.CMBTextDocument
Represents the textual content of an arbitrary document.
Constructor Summary | |
CMBTextDocument(java.lang.String content)
Creates a new text document with the specified content. |
|
CMBTextDocument(java.lang.String content,
java.lang.String name)
Creates a new text document with the specified content and a name. |
|
CMBTextDocument(java.lang.String content,
java.lang.String name,
java.lang.String language)
Creates a new text document with the specified content, a name and the language. |
Method Summary | |
java.lang.String |
getContent()
Returns the content of this document. |
java.lang.String |
getLanguage()
Returns the language code of this document. |
java.lang.String |
getName()
Returns the name of this document. |
void |
setLanguage(java.lang.String language)
Sets the language of this document. |
void |
setName(java.lang.String name)
Sets the name of this document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMBTextDocument(java.lang.String content)
content
- the content of the document to be createdpublic CMBTextDocument(java.lang.String content, java.lang.String name)
content
- the content of the document to be createdname
- the name of the document to be createdpublic CMBTextDocument(java.lang.String content, java.lang.String name, java.lang.String language) throws CMBInvalidLanguageCodeException
Method Detail |
public java.lang.String getContent()
public void setLanguage(java.lang.String language) throws CMBInvalidLanguageCodeException
language
- the language of this documentgetLanguage()
public java.lang.String getLanguage()
setLanguage(String)
public void setName(java.lang.String name)
public java.lang.String getName()
|
IBM Information Integrator for Content V8.2 APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |