de.rowa.posps.client.data
Class ArticleSearchResultTemplate
java.lang.Object
de.rowa.posps.client.data.ArticleSearchResultTemplate
- Direct Known Subclasses:
- CustomerArticleSearchResultTemplate
public abstract class ArticleSearchResultTemplate
- extends java.lang.Object
Factory class for creating article search result templates for several template types
and countries. For each type and country there is only one instance, which can be
accessed by calling get(de.rowa.posps.client.data.ArticleSearchResultTemplate.Template, PospsCountryCode)
.
To create a new template type, add its name to ArticleSearchResultTemplate.Template
and create a subclass
of this class called (TemplateName)ArticleSearchResultTemplate, and implement
createTemplateElement()
. Country-specific elements are added by a subclass
ending with the country code.
- Author:
- Michael Koch
Field Summary |
protected javax.xml.datatype.DatatypeFactory |
DATATYPE_FACTORY
|
protected static de.rowa.wsdl.posps.types.ObjectFactory |
PPTYPES
Instance which can be used by subclasses to create posps JAXB elements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PPTYPES
protected static final de.rowa.wsdl.posps.types.ObjectFactory PPTYPES
- Instance which can be used by subclasses to create posps JAXB elements.
DATATYPE_FACTORY
protected final javax.xml.datatype.DatatypeFactory DATATYPE_FACTORY
ArticleSearchResultTemplate
protected ArticleSearchResultTemplate()
get
public static de.rowa.wsdl.posps.types.ArticleSearchResultElement get(ArticleSearchResultTemplate.Template template,
PospsCountryCode country)
- Returns the template element for the given template type and country. There is only a single
application-wide instance of this element. The method will create and cache the instance.
- Parameters:
template
- Type of the template which should be accessed.country
-
- Returns:
createTemplateElement
protected abstract T createTemplateElement()
- Returns:
- New instance of the template element.
Copyright © 2007-2016 Becton Dickinson. All Rights Reserved.