org.apache.ws.jaxme.generator

Interface PropertySource

Known Subinterfaces:
Generator
Known Implementing Classes:
GeneratorImpl

public interface PropertySource

An instance of PropertySource (typically the Generator can be queried for properties.
Author:
Jochen Wiedmann

Method Summary

String
getProperty(String pName)
Returns the given property value or null, if the property is not set.
String
getProperty(String pName, String pDefault)
Returns the given property value.
void
setProperty(String pName, String pValue)
Sets the given property value.

Method Details

getProperty

public String getProperty(String pName)
Returns the given property value or null, if the property is not set.

getProperty

public String getProperty(String pName,
                          String pDefault)
Returns the given property value. If the property is not set, returns the given default value.

setProperty

public void setProperty(String pName,
                        String pValue)
Sets the given property value.