|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.logabit.webtools.patchwork.PatchworkLayout
public class PatchworkLayout
| Method Summary | |
|---|---|
PatchworkInclude |
createInclude(java.lang.String name,
PatchworkLayout layout,
java.lang.String templatePath)
Factory method to create a new patchwork include. |
PatchworkConfiguration |
getConfig()
Returns the configuration object this layout belongs to. |
java.util.Map<java.lang.String,ContentProviderDescriptor> |
getContentDescriptors()
Get all local content descriptors, belonging to this layout. |
java.lang.String |
getDescription()
Returns the description of this layout. |
java.lang.String |
getExtendsName()
Returns the name of the layout this layout extends. |
java.util.Map<java.lang.String,PatchworkInclude> |
getIncludes()
Retuns all PatchworkIncludes which're defined within this layout. |
java.lang.String |
getInfoString()
Returns a more readable string respresentation of this layout object. |
java.lang.String |
getName()
Returns the name of this layout. |
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Returns the properties configured within this layout. |
java.lang.String |
getTemplatePath()
Returns the path of the template which belongs to this layout. |
boolean |
isCallable()
Returns true if it is allowed to call this layout directly from the sitemap. |
void |
setCallable(boolean isCallable)
Sets whether it is allowed to call this layout directly from the sitemap. |
void |
setDescription(java.lang.String description)
Sets the description of this layout. |
void |
setExtendsName(java.lang.String extendsName)
Sets the name of the layout this layout extends. |
void |
setIncludes(java.util.Map<java.lang.String,PatchworkInclude> includes)
Sets the PatchworkIncludes this layout contains. |
void |
setName(java.lang.String name)
Sets the name of the layout. |
void |
setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Sets the properties configured within this layout. |
void |
setTemplatePath(java.lang.String templatePath)
Sets the path of the template which belongs to this layout. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public PatchworkConfiguration getConfig()
public java.util.Map<java.lang.String,ContentProviderDescriptor> getContentDescriptors()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
NOTE: This is part of the contentwork module
and not necessary running patchwork as standalone.
public void setProperties(java.util.Map<java.lang.String,java.lang.String> properties)
NOTE: This is part of the contentwork module
and not necessary running patchwork as standalone.
public java.lang.String getExtendsName()
public void setExtendsName(java.lang.String extendsName)
extendsName - The extendsName to set.public boolean isCallable()
public void setCallable(boolean isCallable)
public java.util.Map<java.lang.String,PatchworkInclude> getIncludes()
public java.lang.String getDescription()
public java.lang.String getName()
public void setIncludes(java.util.Map<java.lang.String,PatchworkInclude> includes)
contains - The includes to set.public void setDescription(java.lang.String description)
description - The description to set.public void setName(java.lang.String name)
name - The name to set.public void setTemplatePath(java.lang.String templatePath)
string - public java.lang.String getTemplatePath()
public java.lang.String toString()
toString in class java.lang.Object
public PatchworkInclude createInclude(java.lang.String name,
PatchworkLayout layout,
java.lang.String templatePath)
name - The name of the include.layout - The layout object, this include refers to.templatePath - The template path this include defines.
public java.lang.String getInfoString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||