|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.indexdata.masterkey.pazpar2.client.Pazpar2ServiceDefinition
public class Pazpar2ServiceDefinition
Defines the Pazpar2 service definition to use, based on the configuration in the service proxy's property file
There are three ways to define the service:
Field Summary | |
---|---|
static int |
UNDEFINED
|
Constructor Summary | |
---|---|
Pazpar2ServiceDefinition(Pazpar2ClientConfiguration configuration)
|
Method Summary | |
---|---|
String |
getDescription()
Returns description of the chosen service definition type (for log statements) |
int |
getServiceDefinitionType()
Returns the chosen service defintion type (XML, ID or default) |
String |
getServiceId()
Returns the identifier pointing to a statically loaded pazpar2 service definition |
String |
getServiceXml()
Returns the XML content of the pazpar2 service definition as read from a definition file |
boolean |
usesId()
|
boolean |
usesPz2DefaultService()
|
boolean |
usesXml()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNDEFINED
Constructor Detail |
---|
public Pazpar2ServiceDefinition(Pazpar2ClientConfiguration configuration) throws ProxyErrorException
ProxyErrorException
Method Detail |
---|
public int getServiceDefinitionType()
public boolean usesXml()
public boolean usesId()
public boolean usesPz2DefaultService()
public String getServiceId()
public String getServiceXml()
public String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |