org.springframework.extensions.surf.types
Class ChromeImpl

java.lang.Object
  extended by org.springframework.extensions.surf.types.AbstractModelObject
      extended by org.springframework.extensions.surf.render.AbstractRenderableModelObject
          extended by org.springframework.extensions.surf.types.ChromeImpl
All Implemented Interfaces:
Serializable, ModelObject, Renderable, ResourceProvider, Chrome

public class ChromeImpl
extends AbstractRenderableModelObject
implements Chrome

Default chrome implementation

Author:
muzquiano
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.extensions.surf.render.AbstractRenderableModelObject
ATTR_RENDER_MODE, PROP_PROCESSOR
 
Fields inherited from class org.springframework.extensions.surf.types.AbstractModelObject
CONTAINER_PROPERTIES, CONTAINER_RESOURCES, customProperties, description, descriptionId, document, id, info, modelProperties, modelVersion, modificationTime, resourceContainer, title, titleId
 
Fields inherited from interface org.springframework.extensions.surf.types.Chrome
PROP_CHROME_TYPE, TYPE_ID
 
Fields inherited from interface org.springframework.extensions.surf.ModelObject
PROP_DESCRIPTION, PROP_DESCRIPTION_ID, PROP_ID, PROP_TITLE, PROP_TITLE_ID
 
Constructor Summary
ChromeImpl(String id, ModelPersisterInfo key, org.dom4j.Document document)
          Instantiates a new chrome for a given XML document
 
Method Summary
 String getChromeType()
          Gets the chrome type.
 String getTypeId()
          Returns the type id of the model object.
 void setChromeType(String chromeType)
          Sets the chrome type.
 
Methods inherited from class org.springframework.extensions.surf.render.AbstractRenderableModelObject
getProcessorId, getProcessorId, getProcessorProperties, getProcessorProperties, getProcessorProperty, getProcessorProperty, getRenderModes, removeProcessor, removeProcessor, setProcessorProperty, setProcessorProperty
 
Methods inherited from class org.springframework.extensions.surf.types.AbstractModelObject
addResource, addResource, getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModelVersion, getModificationTime, getPersisterId, getProperties, getProperty, getResource, getResourceContainer, getResources, getResourcesMap, getStoragePath, getTitle, getTitleId, isCustomProperty, isModelProperty, isSaved, removeCustomProperty, removeModelProperty, removeProperty, removeResource, setCustomProperty, setDescription, setDescriptionId, setId, setModelProperty, setModificationTime, setProperty, setTitle, setTitleId, toString, touch, toXML, updateResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.springframework.extensions.surf.ModelObject
getBooleanProperty, getCustomProperties, getCustomProperty, getDescription, getDescriptionId, getDocument, getId, getKey, getModelProperties, getModelProperty, getModelVersion, getModificationTime, getPersisterId, getProperties, getProperty, getStoragePath, getTitle, getTitleId, isSaved, removeCustomProperty, removeModelProperty, removeProperty, setCustomProperty, setDescription, setDescriptionId, setModelProperty, setProperty, setTitle, setTitleId, touch, toXML
 

Constructor Detail

ChromeImpl

public ChromeImpl(String id,
                  ModelPersisterInfo key,
                  org.dom4j.Document document)
Instantiates a new chrome for a given XML document

Parameters:
document - the document
Method Detail

getTypeId

public String getTypeId()
Description copied from interface: ModelObject
Returns the type id of the model object.

Specified by:
getTypeId in interface ModelObject
Specified by:
getTypeId in class AbstractModelObject
Returns:
The type id

getChromeType

public String getChromeType()
Description copied from interface: Chrome
Gets the chrome type.

Specified by:
getChromeType in interface Chrome
Returns:
the chrome type

setChromeType

public void setChromeType(String chromeType)
Description copied from interface: Chrome
Sets the chrome type.

Specified by:
setChromeType in interface Chrome
Parameters:
chromeType - the new chrome type


Copyright © 2009 SpringSource, Inc. All Rights Reserved.