com.arsdigita.cms.dispatcher
Interface XMLGenerator

All Known Implementing Classes:
SimpleXMLGenerator

public interface XMLGenerator

Generates XML representing a Content Item.

As the last step of servicing a page, the MasterPage will go through the hierarchy of its components and ask each of them to convert themselves to XML. A MasterPage contains a special component that knows how to ask its content section for the XML generator that should be applied. The XML generator's generateXML method in turn asks the containing page for the content item, the one that the ItemResolver found before, and formats it as an XML document.

Version:
$Revision: #5 $ $DateTime: 2004/04/07 16:07:11 $
Author:
Michael Pih (pihman@arsdigita.com)

Field Summary
static String versionId
           
 
Method Summary
 void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent, String useContext)
          Generates the XML to render the content panel.
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Method Detail

generateXML

public void generateXML(com.arsdigita.bebop.PageState state,
                        com.arsdigita.xml.Element parent,
                        String useContext)
Generates the XML to render the content panel.

Parameters:
state - The page state
parent - The parent DOM element
useContext - The use context


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC