submarine.pages
Class BaseWriterPage

java.lang.Object
  |
  +--submarine.pages.WSPFunctions
        |
        +--submarine.pages.BaseWriterPage
All Implemented Interfaces:
java.lang.Runnable, SubmiterAware, WritingFunction, XMLConfigurable
Direct Known Subclasses:
page_wsp_0

public class BaseWriterPage
extends WSPFunctions
implements WritingFunction, SubmiterAware, java.lang.Runnable


Field Summary
protected  Message.MsgContext context
           
protected  java.lang.Object request
           
protected  java.lang.Object response
           
protected  Submiter submiter
           
protected  org.w3c.dom.Element xmlConfig
           
 
Fields inherited from class submarine.pages.WSPFunctions
document
 
Constructor Summary
BaseWriterPage()
           
 
Method Summary
 void init(org.w3c.dom.Element xml)
           
 boolean putDocument(Message.MsgContext context, java.lang.Object doc)
           
 java.lang.Object putSyncDocument(Message.MsgContext context, java.lang.Object doc)
           
 void run()
           
 void setSubmiter(Submiter s)
           
 
Methods inherited from class submarine.pages.WSPFunctions
CopyOf, CopyOf, createAttribute, createCDATASection, createComment, createDocument, createElement, createElement, createFragment, getPreparedNodes, ParseFile, selectXPath, Transform, ValueOf, ValueOf
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

submiter

protected Submiter submiter

request

protected java.lang.Object request

response

protected java.lang.Object response

context

protected Message.MsgContext context

xmlConfig

protected org.w3c.dom.Element xmlConfig
Constructor Detail

BaseWriterPage

public BaseWriterPage()
Method Detail

putSyncDocument

public java.lang.Object putSyncDocument(Message.MsgContext context,
                                        java.lang.Object doc)
                                 throws java.lang.Exception
Specified by:
putSyncDocument in interface WritingFunction
Following copied from interface: submarine.core.WritingFunction
Parameters:
doc -  
context -  
Returns:
java.lang.Object
Throws:
java.lang.Exception -  

putDocument

public boolean putDocument(Message.MsgContext context,
                           java.lang.Object doc)
                    throws java.lang.Exception
Specified by:
putDocument in interface WritingFunction
Following copied from interface: submarine.core.WritingFunction
Parameters:
doc -  
context -  
Returns:
boolean
Throws:
java.lang.Exception -  

init

public void init(org.w3c.dom.Element xml)
Specified by:
init in interface XMLConfigurable
Following copied from interface: submarine.core.XMLConfigurable
Parameters:
xml -  
Throws:
java.lang.Exception -  

setSubmiter

public void setSubmiter(Submiter s)
Specified by:
setSubmiter in interface SubmiterAware
Following copied from interface: submarine.core.SubmiterAware
Parameters:
s -  

run

public void run()
Specified by:
run in interface java.lang.Runnable

Submarine project. free distribution of this software must include the opensource licence.
Guénolé de Cadoudal.