com.arsdigita.cms.dispatcher
Class SimpleXMLGenerator
java.lang.Object
com.arsdigita.cms.dispatcher.SimpleXMLGenerator
- All Implemented Interfaces:
- XMLGenerator
- public class SimpleXMLGenerator
- extends Object
- implements XMLGenerator
The default XMLGenerator implementation.
- Version:
- $Revision: #19 $ $DateTime: 2004/07/14 09:21:00 $
- Author:
- Michael Pih
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
ADAPTER_CONTEXT
public static final String ADAPTER_CONTEXT
SimpleXMLGenerator
public SimpleXMLGenerator()
generateXML
public void generateXML(com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent,
String useContext)
- Generates the XML to render the content panel.
- Specified by:
generateXML
in interface XMLGenerator
- Parameters:
state
- The page stateparent
- The parent DOM elementuseContext
- The use context
getContentItem
protected ContentItem getContentItem(com.arsdigita.bebop.PageState state)
- Fetches the current content item. This method can be overidden to
fetch any
ContentItem
, but by default,
it fetches the ContentItem
that is set in the page state
by the dispatcher.
- Parameters:
state
- The page state
- Returns:
- A content item
generateUDItemXML
protected void generateUDItemXML(UserDefinedContentItem UDItem,
com.arsdigita.bebop.PageState state,
com.arsdigita.xml.Element parent,
String useContext)
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC