org.apache.ws.jaxme.generator
Interface PropertySource

All Known Subinterfaces:
Generator
All Known Implementing Classes:
GeneratorImpl

public interface PropertySource

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

Author:
Jochen Wiedmann

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

Method Detail

getProperty

java.lang.String getProperty(java.lang.String pName)

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


getProperty

java.lang.String getProperty(java.lang.String pName,
                             java.lang.String pDefault)

Returns the given property value. If the property is not set, returns the given default value.


setProperty

void setProperty(java.lang.String pName,
                 java.lang.String pValue)

Sets the given property value.