org.efaps.ui.wicket.resources
Class XSLResource
java.lang.Object
org.apache.wicket.Resource
org.apache.wicket.markup.html.WebResource
org.efaps.ui.wicket.resources.AbstractEFapsResource
org.efaps.ui.wicket.resources.XSLResource
- All Implemented Interfaces:
- Serializable, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.IResourceListener
public class XSLResource
- extends AbstractEFapsResource
The Resource for a XSL.
- Version:
- $Id: XSLResource.java 4824 2010-06-19 15:01:25Z jan.moxter $
- Author:
- The eFaps Team
- See Also:
- Serialized Form
| Fields inherited from interface org.apache.wicket.IResourceListener |
INTERFACE |
|
Constructor Summary |
XSLResource(String _name)
Constructor settingt the Name of the Type in the SuperClass. |
| Methods inherited from class org.apache.wicket.markup.html.WebResource |
configureResponse, getCacheDuration, setHeaders |
| Methods inherited from class org.apache.wicket.Resource |
getParameters, invalidate, isCacheable, onResourceRequested, setCacheable, setParameters |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XSLResource
public XSLResource(String _name)
- Constructor settingt the Name of the Type in the SuperClass.
- Parameters:
_name - Name of the Resource
get
public static XSLResource get(String _name)
- method to retrieve a XSLResource. It will check if it allready exist and
return the existung one. If no Resource exists a new one will be created.
- Parameters:
_name - Name of the Resource
- Returns:
- the XSLResource related to the Name
setNewResourceStream
protected AbstractEFapsResource.AbstractEFapsResourceStream setNewResourceStream()
- this method is used to set the AbstractEFapsResourceStream for the
instance variable
AbstractEFapsResource.stream. It si called from the Constructor
AbstractEFapsResource.AbstractEFapsResource(String, String) and in case that the
instance variable AbstractEFapsResource.stream is still null from
AbstractEFapsResource.getResourceStream(). The method is implemented as abstract so
that all subclasses can use there on subclass of an
AbstractEFapsResourceStream.
- Specified by:
setNewResourceStream in class AbstractEFapsResource
- Returns:
- AbstractEFapsResourceStream
Copyright © 2003-2011 The eFaps Team. All Rights Reserved.