org.apache.ws.jaxme.generator

Interface PropertySource

public interface PropertySource

An instance of PropertySource (typically the Generator can be queried for properties.

Author: Jochen Wiedmann

Method Summary
StringgetProperty(String pName)

Returns the given property value or null, if the property is not set.

StringgetProperty(String pName, String pDefault)

Returns the given property value.

voidsetProperty(String pName, String pValue)

Sets the given property value.

Method Detail

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.