fi.hut.tml.xsmiles
Class XLinkWithContent

java.lang.Object
  extended byfi.hut.tml.xsmiles.XLink
      extended byfi.hut.tml.xsmiles.XLinkWithContent

public class XLinkWithContent
extends XLink

Author:
Mikko Honkala This class is a "fake" link, which contains the content in itself. This way it is possible to construct content programmatically and display that using X-Smiles.

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.XLink
FAKE_WITH_CONTENT, FILEURLPREFIX, m_method, POST, POST_FORMDATA_HTTP, POST_HTTP, POST_JMS, POST_MULTIPART_HTTP, POST_URLENCODED_HTTP, PUT_HTTP, SIMPLE
 
Constructor Summary
XLinkWithContent(java.lang.String aUrl, java.lang.String aContent)
           
 
Method Summary
 java.io.InputStream getContent()
          this may be implemented by subclasses, if they want to hold the content in themselves
 
Methods inherited from class fi.hut.tml.xsmiles.XLink
getContentType, getLinkType, getMethod, getMIMEOverride, getPostData, getProperties, getURL, getURLString, removePostData, setMIMEOverride, setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XLinkWithContent

public XLinkWithContent(java.lang.String aUrl,
                        java.lang.String aContent)
Method Detail

getContent

public java.io.InputStream getContent()
this may be implemented by subclasses, if they want to hold the content in themselves

Overrides:
getContent in class XLink


X-Smiles 1.2