org.apache.synapse.endpoints
Class Template

java.lang.Object
  extended by org.apache.synapse.endpoints.Template
All Implemented Interfaces:
SynapseArtifact

public class Template
extends Object
implements SynapseArtifact

A template with the endpoint information.


Constructor Summary
Template()
           
 
Method Summary
 void addParameter(String name)
           
 Endpoint create(TemplateEndpoint templateEndpoint, Properties properties)
           
 String getDescription()
          Retrieves the description of the artifact
 OMElement getElement()
           
 String getFileName()
           
 String getName()
           
 List<String> getParameters()
           
 void setDescription(String description)
          Set the description of the artifact
 void setElement(OMElement element)
           
 void setFileName(String fileName)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template()
Method Detail

create

public Endpoint create(TemplateEndpoint templateEndpoint,
                       Properties properties)

getName

public String getName()

setName

public void setName(String name)

getParameters

public List<String> getParameters()

addParameter

public void addParameter(String name)

setElement

public void setElement(OMElement element)

getElement

public OMElement getElement()

setDescription

public void setDescription(String description)
Description copied from interface: SynapseArtifact
Set the description of the artifact

Specified by:
setDescription in interface SynapseArtifact
Parameters:
description - tobe set to the artifact

getDescription

public String getDescription()
Description copied from interface: SynapseArtifact
Retrieves the description of the artifact

Specified by:
getDescription in interface SynapseArtifact
Returns:
description of the artifact

getFileName

public String getFileName()

setFileName

public void setFileName(String fileName)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.