public abstract class BaseApiConverter extends Object implements ApiConverter
| Constructor and Description |
|---|
BaseApiConverter() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
appendUrl(Writer writer,
String className)
Converts a class name to an url and adds the url to an Writer.
|
String |
getBaseUrl()
Get the base Url for the Converter.
|
abstract String |
getName()
Returns the name of the converter.
|
void |
setBaseUrl(String baseUrl)
Set the base Url for the Converter.
|
protected String baseUrl
public abstract void appendUrl(Writer writer, String className) throws IOException
ApiConverterappendUrl in interface ApiConverterwriter - Writer to add the class url toclassName - Namee of the class to create pointer forIOExceptionpublic void setBaseUrl(String baseUrl)
ApiConvertersetBaseUrl in interface ApiConverterbaseUrl - Url to use when creating an API pointerpublic String getBaseUrl()
ApiConvertergetBaseUrl in interface ApiConverterpublic abstract String getName()
ApiConvertergetName in interface ApiConverterCopyright © 2003-2014 Sakai Project. All Rights Reserved.