org.jecars.output
Class CARS_OutputGenerator_Atom

java.lang.Object
  extended by org.jecars.output.CARS_DefaultOutputGenerator
      extended by org.jecars.output.CARS_OutputGenerator_Atom
All Implemented Interfaces:
CARS_OutputGenerator

public class CARS_OutputGenerator_Atom
extends CARS_DefaultOutputGenerator
implements CARS_OutputGenerator

CARS_OutputGenerator_HTML

Version:
$Id: CARS_OutputGenerator_Atom.java,v 1.4 2007/11/29 11:15:01 weertj Exp $

Constructor Summary
CARS_OutputGenerator_Atom()
          Creates a new instance of CARS_OutputGenerator_HTML
 
Method Summary
 void addChildNodeEntry(CARS_ActionContext pContext, java.lang.StringBuilder pMessage, javax.jcr.Node pChildNode)
          Add child node entry
 void addThisNodeEntry(CARS_ActionContext pContext, java.lang.StringBuilder pMessage, javax.jcr.Node pThisNode, long pFromNode, long pToNode)
          Add node entry, the current (this) node
 void createFooter(CARS_ActionContext pContext, java.lang.StringBuilder pMessage)
          Create the footer of the message
 void createHeader(CARS_ActionContext pContext, java.lang.StringBuilder pMessage)
          Create the header of the message
 
Methods inherited from class org.jecars.output.CARS_DefaultOutputGenerator
isFeed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jecars.output.CARS_OutputGenerator
isFeed
 

Constructor Detail

CARS_OutputGenerator_Atom

public CARS_OutputGenerator_Atom()
Creates a new instance of CARS_OutputGenerator_HTML

Method Detail

createHeader

public void createHeader(CARS_ActionContext pContext,
                         java.lang.StringBuilder pMessage)
Create the header of the message

Specified by:
createHeader in interface CARS_OutputGenerator
Overrides:
createHeader in class CARS_DefaultOutputGenerator
Parameters:
pContext - The action context
pMessage - the string builder in which the header must be added

createFooter

public void createFooter(CARS_ActionContext pContext,
                         java.lang.StringBuilder pMessage)
Create the footer of the message

Specified by:
createFooter in interface CARS_OutputGenerator
Overrides:
createFooter in class CARS_DefaultOutputGenerator
Parameters:
pContext - The action context
pMessage - the string builder in which the header must be added

addThisNodeEntry

public void addThisNodeEntry(CARS_ActionContext pContext,
                             java.lang.StringBuilder pMessage,
                             javax.jcr.Node pThisNode,
                             long pFromNode,
                             long pToNode)
                      throws javax.jcr.RepositoryException,
                             java.lang.Exception
Add node entry, the current (this) node

Specified by:
addThisNodeEntry in interface CARS_OutputGenerator
Overrides:
addThisNodeEntry in class CARS_DefaultOutputGenerator
Parameters:
pContext - The action context
pMessage - the string builder in which the header must be added
pThisNode - the this node
pFromNode - from node number
pToNode - to node number
Throws:
javax.jcr.RepositoryException
java.lang.Exception

addChildNodeEntry

public void addChildNodeEntry(CARS_ActionContext pContext,
                              java.lang.StringBuilder pMessage,
                              javax.jcr.Node pChildNode)
                       throws javax.jcr.RepositoryException,
                              java.lang.Exception
Add child node entry

Specified by:
addChildNodeEntry in interface CARS_OutputGenerator
Overrides:
addChildNodeEntry in class CARS_DefaultOutputGenerator
Parameters:
pContext - The action context
pMessage - the string builder in which the header must be added
pChildNode - the this node
Throws:
javax.jcr.RepositoryException
java.lang.Exception