org.apache.jetspeed.locator
Class JetspeedTemplateDescriptor

java.lang.Object
  extended by org.apache.jetspeed.locator.JetspeedLocatorDescriptor
      extended by org.apache.jetspeed.locator.JetspeedTemplateDescriptor
All Implemented Interfaces:
LocatorDescriptor, TemplateDescriptor

public class JetspeedTemplateDescriptor
extends JetspeedLocatorDescriptor
implements TemplateDescriptor

Jetspeed default Template Descriptor implementation

Version:
$Id: JetspeedTemplateDescriptor.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Field Summary
 
Fields inherited from interface org.apache.jetspeed.locator.LocatorDescriptor
PARAM_COUNTRY, PARAM_LANGUAGE, PARAM_MEDIA_TYPE, PARAM_NAME, PARAM_TYPE, TYPE_EMAIL, TYPE_PORTLET
 
Constructor Summary
JetspeedTemplateDescriptor()
           
JetspeedTemplateDescriptor(LocatorDescriptor locator)
           
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getAbsolutePath()
          The absolute file system path to the template
 java.lang.String getAppRelativePath()
          Returns the template path relative to the applications root
 void setAbsolutePath(java.lang.String path)
          The absolute file system path to the template
 void setAppRelativePath(java.lang.String string)
          Sets the template path relative to the applications root
 
Methods inherited from class org.apache.jetspeed.locator.JetspeedLocatorDescriptor
getCountry, getLanguage, getMediaType, getName, getType, setCountry, setLanguage, setMediaType, setName, setType, toPath, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.locator.LocatorDescriptor
getCountry, getLanguage, getMediaType, getName, getType, setCountry, setLanguage, setMediaType, setName, setType, toPath, toString
 

Constructor Detail

JetspeedTemplateDescriptor

public JetspeedTemplateDescriptor()

JetspeedTemplateDescriptor

public JetspeedTemplateDescriptor(LocatorDescriptor locator)
Method Detail

getAbsolutePath

public java.lang.String getAbsolutePath()
Description copied from interface: TemplateDescriptor
The absolute file system path to the template

Specified by:
getAbsolutePath in interface TemplateDescriptor
Returns:
absolute path

setAbsolutePath

public void setAbsolutePath(java.lang.String path)
Description copied from interface: TemplateDescriptor
The absolute file system path to the template

Specified by:
setAbsolutePath in interface TemplateDescriptor

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface LocatorDescriptor
Overrides:
clone in class JetspeedLocatorDescriptor
Returns:
an instance copy of this object
Throws:
java.lang.CloneNotSupportedException
See Also:
Object.clone()

getAppRelativePath

public java.lang.String getAppRelativePath()
Description copied from interface: TemplateDescriptor
Returns the template path relative to the applications root

Specified by:
getAppRelativePath in interface TemplateDescriptor
Returns:

setAppRelativePath

public void setAppRelativePath(java.lang.String string)
Description copied from interface: TemplateDescriptor
Sets the template path relative to the applications root

Specified by:
setAppRelativePath in interface TemplateDescriptor
Parameters:
string -


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.