org.ow2.weblab.service.exposer.config
Class ExposerConfigBean

java.lang.Object
  extended by org.ow2.weblab.service.exposer.config.ExposerConfigBean

public class ExposerConfigBean
extends java.lang.Object

This class is just a bean container for the configuration of LocalFileExposer service.

Author:
IPCC WebLab Team
Date:
2011-08-11

Constructor Summary
ExposerConfigBean()
           
 
Method Summary
 java.lang.String getByString()
          If byString is null, set it to the empty string
 java.lang.String getExposedAsUri()
           
 int getNbStartCharToReplace()
           
 java.lang.String getReplacementForSpace()
          If replacementForSpace, set it to %20
 java.lang.String getServiceUri()
           
 java.lang.String getSourceUri()
          if sourceUri is null, set it to
 java.lang.String getUrlEncoding()
          If urlEncoding is null, set if to ISO-8859-1
 boolean isAnnotateAsUri()
           
 boolean isSourceIsResource()
           
 boolean isUrlEncodeBetweenSlashes()
           
 void setAnnotateAsUri(boolean annotateAsUri)
           
 void setByString(java.lang.String byString)
           
 void setExposedAsUri(java.lang.String exposedAsUri)
          if exposedAsUri is null, set it to
 void setNbStartCharToReplace(int nbStartCharToReplace)
           
 void setReplacementForSpace(java.lang.String replacementForSpace)
           
 void setServiceUri(java.lang.String serviceUri)
           
 void setSourceIsResource(boolean sourceIsResource)
           
 void setSourceUri(java.lang.String sourceUri)
           
 void setUrlEncodeBetweenSlashes(boolean urlEncodeBetweenSlashes)
           
 void setUrlEncoding(java.lang.String urlEncoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExposerConfigBean

public ExposerConfigBean()
Method Detail

getByString

public java.lang.String getByString()
If byString is null, set it to the empty string

Returns:
the byString

getExposedAsUri

public java.lang.String getExposedAsUri()
Returns:
the exposedAsUri

getNbStartCharToReplace

public int getNbStartCharToReplace()
Returns:
the nbStartCharToReplace

getReplacementForSpace

public java.lang.String getReplacementForSpace()
If replacementForSpace, set it to %20

Returns:
the replacementForSpace

getServiceUri

public java.lang.String getServiceUri()
Returns:
the serviceUri

getSourceUri

public java.lang.String getSourceUri()
if sourceUri is null, set it to

Returns:
the sourceUri

getUrlEncoding

public java.lang.String getUrlEncoding()
If urlEncoding is null, set if to ISO-8859-1

Returns:
the urlEncoding

isAnnotateAsUri

public boolean isAnnotateAsUri()
Returns:
the annotateAsUri

isSourceIsResource

public boolean isSourceIsResource()
Returns:
the sourceIsResource

isUrlEncodeBetweenSlashes

public boolean isUrlEncodeBetweenSlashes()
Returns:
the urlEncodeBetweenSlashes

setAnnotateAsUri

public void setAnnotateAsUri(boolean annotateAsUri)
Parameters:
annotateAsUri - the annotateAsUri to set

setByString

public void setByString(java.lang.String byString)
Parameters:
byString - the byString to set

setExposedAsUri

public void setExposedAsUri(java.lang.String exposedAsUri)
if exposedAsUri is null, set it to

Parameters:
exposedAsUri - the exposedAsUri to set

setNbStartCharToReplace

public void setNbStartCharToReplace(int nbStartCharToReplace)
Parameters:
nbStartCharToReplace - the nbStartCharToReplace to set

setReplacementForSpace

public void setReplacementForSpace(java.lang.String replacementForSpace)
Parameters:
replacementForSpace - the replacementForSpace to set

setServiceUri

public void setServiceUri(java.lang.String serviceUri)
Parameters:
serviceUri - the serviceUri to set

setSourceIsResource

public void setSourceIsResource(boolean sourceIsResource)
Parameters:
sourceIsResource - the sourceIsResource to set

setSourceUri

public void setSourceUri(java.lang.String sourceUri)
Parameters:
sourceUri - the sourceUri to set

setUrlEncodeBetweenSlashes

public void setUrlEncodeBetweenSlashes(boolean urlEncodeBetweenSlashes)
Parameters:
urlEncodeBetweenSlashes - the urlEncodeBetweenSlashes to set

setUrlEncoding

public void setUrlEncoding(java.lang.String urlEncoding)
Parameters:
urlEncoding - the urlEncoding to set


Copyright © 2004-2012. All Rights Reserved.