pl.edu.icm.yadda.service2.user.domain
Class XSLTDomainOverrider

java.lang.Object
  extended by 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.
 
Constructor Summary
XSLTDomainOverrider()
           
 
Method Summary
 void afterPropertiesSet()
           
 String overrideDomain(String data, String domain)
          Overrides domain in profile.
 void setXslResource(org.springframework.core.io.Resource xslResource)
          Sets xsl resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xslResource

protected org.springframework.core.io.Resource xslResource
XSL resource.

Constructor Detail

XSLTDomainOverrider

public XSLTDomainOverrider()
Method Detail

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.