cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lionel Crine <>
Subject question about cocoon object
Date Thu, 13 Feb 2003 13:22:58 GMT
/* I'm reading the code located in the requestgenerator */

  public void generate()
     throws SAXException {
         Request request = ObjectModelHelper.getRequest(objectModel);

	this.contentHandler.startDocument(); ===> this method comes from 
	/******* Add xmlns *******/
         AttributesImpl attr=new AttributesImpl();

         this.attribute(attr,"target", request.getRequestURI());  ===> this 
method comes from AbstractServerPage


My questions are :

In "this.attribute", "this" reference which object ?
How can a class (requestgenerator) can use object from an abstract class at 
the same level ?

Maybe my question are silly, but I like knowing what I'm reading and using.


Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message