Package org.glassfish.webservices.config
Interface TransformationRule
-
- All Superinterfaces:
ConfigBeanProxy
public interface TransformationRule extends ConfigBeanProxy
Specifies configuration for a XSLT transformation rule
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetApplyTo()Gets the value of the applyTo property.StringgetEnabled()Gets the value of the enabled property.@NotNull StringgetName()Gets the value of the name property.@NotNull StringgetRuleFileLocation()Gets the value of the ruleFileLocation property.voidsetApplyTo(String value)Sets the value of the applyTo property.voidsetEnabled(String value)Sets the value of the enabled property.voidsetName(String value)Sets the value of the name property.voidsetRuleFileLocation(String value)Sets the value of the ruleFileLocation property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
-
-
-
Method Detail
-
getName
@NotNull @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 isString- 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 isString- 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 isString- Throws:
PropertyVetoException
-
getRuleFileLocation
@NotNull @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 isString- Throws:
PropertyVetoException
-
-