pl.edu.icm.yadda.service2.user.domain
Class XSLTDomainOverrider
java.lang.Object
pl.edu.icm.yadda.service2.user.domain.XSLTDomainOverrider
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, DomainOverrider
public class XSLTDomainOverrider
- extends Object
- implements DomainOverrider, org.springframework.beans.factory.InitializingBean
XSLT based domain overrider.
- Author:
- mhorst
Field Summary |
protected org.springframework.core.io.Resource |
xslResource
XSL resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xslResource
protected org.springframework.core.io.Resource xslResource
- XSL resource.
XSLTDomainOverrider
public XSLTDomainOverrider()
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
overrideDomain
public String overrideDomain(String data,
String domain)
- Description copied from interface:
DomainOverrider
- Overrides domain in profile.
- Specified by:
overrideDomain
in interface DomainOverrider
- Returns:
- profile with overriden domain
setXslResource
public void setXslResource(org.springframework.core.io.Resource xslResource)
- Sets xsl resource.
- Parameters:
xslResource
-
Copyright © 2002-2013 ICM, Warsaw University. All Rights Reserved.