|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.logabit.webtools.patchwork.PatchworkConfiguration
public class PatchworkConfiguration
This class represents a parsed patchwork configuration.
| Constructor Summary | |
|---|---|
PatchworkConfiguration()
|
|
| Method Summary | |
|---|---|
boolean |
containsPatchworkLayout(java.lang.String name)
Returns true if this config contains a PatchworkLayout with given name. |
PatchworkLayout |
createPatchworkLayout(java.lang.String name,
java.lang.String extendsName)
Factory method for creating a new patchwork layout instance. |
java.util.Map<java.lang.String,ContentProviderDescriptor> |
getGlobalContentDescriptors()
Returns all global content descriptors. |
long |
getLastModified()
Returns the timestamp this PatchworkConfiguration was created. |
java.util.Map |
getPatchworkLayouts()
Returns all PatchworkLayouts this PatchworkConfiguration contains. |
java.lang.String |
getVersion()
Returns the version attribute for compatibility tests. |
void |
setLastModified(long lastModified)
Sets the timestamp this PatchworkConfiguration was created. |
void |
setVersion(java.lang.String version)
Sets the version attribute for compatibility tests. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PatchworkConfiguration()
| Method Detail |
|---|
public boolean containsPatchworkLayout(java.lang.String name)
name - - The name of the layout
public java.util.Map getPatchworkLayouts()
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
version - The version to set.public long getLastModified()
public void setLastModified(long lastModified)
lastModified -
public PatchworkLayout createPatchworkLayout(java.lang.String name,
java.lang.String extendsName)
name - - The name of the layout. If a layout with that name
already exists, it will be overwritten by the new one.extendsName - - The name of the layout the new layout inherits from
or null if no extends attribute was given.
public java.util.Map<java.lang.String,ContentProviderDescriptor> getGlobalContentDescriptors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||