com.indexdata.masterkey.pazpar2.client
public class Pazpar2ServiceDefinition extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
UNDEFINED |
Constructor and Description |
---|
Pazpar2ServiceDefinition(Pazpar2ClientConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
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() |
public static final int UNDEFINED
public Pazpar2ServiceDefinition(Pazpar2ClientConfiguration configuration) throws ProxyErrorException
ProxyErrorException
public int getServiceDefinitionType()
public boolean usesXml()
public boolean usesId()
public boolean usesPz2DefaultService()
public String getServiceId()
public String getServiceXml()
public String getDescription()
Copyright © 2014. All rights reserved.