com.anwrt.anycontent.extensions.content
Class ContentView

java.lang.Object
  extended bycom.anwrt.anycontent.extensions.content.ContentView

public class ContentView
extends java.lang.Object

Handle the view part of a content type


Constructor Summary
ContentView()
           
 
Method Summary
 void configure(Configuration configuration)
          Configure a view for a content type
 java.lang.String getPluginId()
          Get the plugin id
 java.lang.String getPluginName()
          Get the plugin name
 java.lang.String getTemplate()
          Get the template to use to view the content
 void setInformation(java.lang.String pluginName, java.lang.String pluginId)
          Set the name of the plugin (the directory name)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentView

public ContentView()
Method Detail

getPluginName

public java.lang.String getPluginName()
Get the plugin name

Returns:
the plugin group name

getPluginId

public java.lang.String getPluginId()
Get the plugin id

Returns:
the plugin id

getTemplate

public java.lang.String getTemplate()
Get the template to use to view the content

Returns:
the name of the template

setInformation

public final void setInformation(java.lang.String pluginName,
                                 java.lang.String pluginId)
Set the name of the plugin (the directory name)

Parameters:
pluginName - name of the plugin
pluginId - id of the plugin

configure

public void configure(Configuration configuration)
Configure a view for a content type

Parameters:
configuration - The xml configuration on an edition tag


Copyright © 2006 Anyware Technologies. All Rights Reserved.