com.sun.enterprise.config.serverbeans
Interface TransformationRule

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface TransformationRule
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

Specifies configuration for a XSLT transformation rule


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 String getApplyTo()
          Gets the value of the applyTo property.
 String getEnabled()
          Gets the value of the enabled property.
 String getName()
          Gets the value of the name property.
 String getRuleFileLocation()
          Gets the value of the ruleFileLocation property.
 void setApplyTo(String value)
          Sets the value of the applyTo property.
 void setEnabled(String value)
          Sets the value of the enabled property.
 void setName(String value)
          Sets the value of the name property.
 void setRuleFileLocation(String value)
          Sets the value of the ruleFileLocation property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getName

@NotNull
String getName()
Gets the value of the name property. Name of the transformation rule

Returns:
possible object is String

setName

void setName(String value)
             throws PropertyVetoException
Sets the value of the name property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getEnabled

String getEnabled()
Gets the value of the enabled property. If false, this transformation rule is disabled

Returns:
possible object is String

setEnabled

void setEnabled(String value)
                throws PropertyVetoException
Sets the value of the enabled property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getApplyTo

String getApplyTo()
Gets the value of the applyTo property. - "request": transformations are applied to request in the order in which they are specified. - "response": transformation is applied to response in the order in which they are specified. - "both": transformation rule is applied to request and response. The order is reversed for response.

Returns:
possible object is String

setApplyTo

void setApplyTo(String value)
                throws PropertyVetoException
Sets the value of the applyTo property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException

getRuleFileLocation

@NotNull
String getRuleFileLocation()
Gets the value of the ruleFileLocation property. Location of rule file to do transformation. Only XSLT files are allowed. Default is: ${com.sun.aas.instanceRoot}/generated/xml/// Absolute paths can also be specified

Returns:
possible object is String

setRuleFileLocation

void setRuleFileLocation(String value)
                         throws PropertyVetoException
Sets the value of the ruleFileLocation property.

Parameters:
value - allowed object is String
Throws:
PropertyVetoException


Copyright © 2012 GlassFish Community. All Rights Reserved.