com.arsdigita.cms.dispatcher
Class ContentPanel

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.cms.dispatcher.ContentPanel
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.util.Lockable

public class ContentPanel
extends com.arsdigita.bebop.SimpleComponent

This ContentPanel component fetches the XMLGenerator for the content section.

Version:
$Revision: #9 $ $Date: 2004/04/07 $
Author:
Michael Pih (pihman@arsdigita.com)

Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
ContentPanel()
           
 
Method Summary
 void generateXML(com.arsdigita.bebop.PageState state, com.arsdigita.xml.Element parent)
          Generates XML that represents a content item.
protected  XMLGenerator getXMLGenerator(com.arsdigita.bebop.PageState state)
          Fetches an XML Generator.
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
children, clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

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

ContentPanel

public ContentPanel()
Method Detail

getXMLGenerator

protected XMLGenerator getXMLGenerator(com.arsdigita.bebop.PageState state)
Fetches an XML Generator. This method can be overidden to fetch any XMLGenerator, but by default, it fetches the XMLGenerator registered to the current ContentSection.

Parameters:
state - The page state

generateXML

public void generateXML(com.arsdigita.bebop.PageState state,
                        com.arsdigita.xml.Element parent)
Generates XML that represents a content item.

Parameters:
state - The page state
parent - The parent DOM element
See Also:
XMLGenerator


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