|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xbus.sample.Dealer
public class Dealer
Specific data about dealers is stored in the standard configuration. This convience class enables an easy access.
| Constructor Summary | |
|---|---|
Dealer()
|
|
| Method Summary | |
|---|---|
java.util.List |
getAddresses()
Returns a list of all dealernumbers. |
java.lang.String |
getDealerName(java.lang.String dealernumber)
Returns the name of the dealer. |
java.lang.String |
getValue(java.lang.String inValue,
java.lang.String outValue,
java.lang.String key)
|
boolean |
hasMarker(java.lang.String text)
Returns if the given text contains placeholders for informations on the address. |
java.lang.String |
replaceMarker(java.lang.String text,
java.lang.String address)
Replaces all occurences of special markers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dealer()
| Method Detail |
|---|
public java.util.List getAddresses()
throws XException
getAddresses in interface AdditionalAddressXException - if the entry is not found or any error occurspublic boolean hasMarker(java.lang.String text)
hasMarker in interface AdditionalAddresstext - text eventually containing markers
XException - if any error occurs
public java.lang.String replaceMarker(java.lang.String text,
java.lang.String address)
throws XException
replaceMarker in interface AdditionalAddresstext - text containing markersaddress - dealernumber
XException - if the entry is not found or any error occurs
public java.lang.String getDealerName(java.lang.String dealernumber)
throws XException
dealernumber -
XException - if the entry is not found or any error occurs
public java.lang.String getValue(java.lang.String inValue,
java.lang.String outValue,
java.lang.String key)
getValue in interface AdditionalAddressAdditionalAddress.getValue(java.lang.String,
java.lang.String, java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||