org.springframework.extensions.surf.types
Class ComponentTypeImpl
java.lang.Object
org.springframework.extensions.surf.types.AbstractModelObject
org.springframework.extensions.surf.render.AbstractRenderableModelObject
org.springframework.extensions.surf.types.ComponentTypeImpl
- All Implemented Interfaces:
- Serializable, ModelObject, Renderable, ResourceProvider, ComponentType
public class ComponentTypeImpl
- extends AbstractRenderableModelObject
- implements ComponentType
Default component type implementation
- Author:
- muzquiano
- See Also:
- Serialized Form
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 |
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 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 |
ComponentTypeImpl
public ComponentTypeImpl(String id,
ModelPersisterInfo key,
org.dom4j.Document document)
- Instantiates a new component type for the given XML document.
- Parameters:
document
- the document
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
getURI
public String getURI()
- Description copied from interface:
ComponentType
- Gets the URI.
- Specified by:
getURI
in interface ComponentType
- Returns:
- the uRI
setURI
public void setURI(String uri)
- Description copied from interface:
ComponentType
- Sets the URI.
- Specified by:
setURI
in interface ComponentType
- Parameters:
uri
- the new uRI
Copyright © 2009 SpringSource, Inc. All Rights Reserved.