Cisco Cisco Collaboration Server Dynamic Content Adapter Developer's Guide

Page of 138
DCA 2.01 Parser API Specification
 
Class LightweightHtmlDocument   28 
2.0 
 
isTextContent 
 
public boolean isTextContent() 
Returns true if this document is text content (content that can be parsed). 
Returns: 
The textContent value 
Since:  
2.0 
 
setCharset 
 
public void setCharset(java.lang.String charset) 
                throws 
com.cisco.proxy.error.CharsetChangeParserException 
Sets the document's charset. This method should only be used on the server. 
Parameters: 
charset
 - The new charset value 
Throws: 
com.cisco.proxy.error.CharsetChangeParserException
 - Description of 
Exception