public class Api extends Object implements JaxbPersistenceApi<Api>
| Modifier and Type | Class and Description |
|---|---|
static class |
Api.ApiFactory
allows typed / non static access to JaxbFactory features for
|
| Modifier and Type | Field and Description |
|---|---|
protected Createaccount |
createaccount |
protected Delete |
delete |
protected Edit |
edit |
protected Error |
error |
protected static Logger |
LOGGER
Logging may be enabled by setting debug to true
|
protected Login |
login |
protected Paraminfo |
paraminfo |
protected Parse |
parse |
protected Query |
query |
protected String |
rawJson |
protected Tokens |
tokens |
protected Warnings |
warnings |
| Constructor and Description |
|---|
Api() |
| Modifier and Type | Method and Description |
|---|---|
String |
asJson()
return me as a Json string
|
String |
asXML()
return me as an Xml string
|
static Api |
fromXML(String xml)
create a Api from an XML string
|
Createaccount |
getCreateaccount()
Ruft den Wert der createaccount-Eigenschaft ab.
|
Delete |
getDelete() |
Edit |
getEdit()
Gets the value of the edit property.
|
Error |
getError()
Gets the value of the error property.
|
JaxbFactoryApi<Api> |
getFactory()
get my factory
|
Login |
getLogin()
Gets the value of the login property.
|
Paraminfo |
getParaminfo()
Ruft den Wert der paraminfo-Eigenschaft ab.
|
Parse |
getParse()
Gets the value of the parse property.
|
Query |
getQuery() |
String |
getRawJson() |
String |
getServedby() |
Tokens |
getTokens()
Gets the value of the tokens property.
|
Warnings |
getWarnings()
Ruft den Wert der warnings-Eigenschaft ab.
|
void |
setCreateaccount(Createaccount value)
Legt den Wert der createaccount-Eigenschaft fest.
|
void |
setDelete(Delete delete) |
void |
setEdit(Edit value)
Sets the value of the edit property.
|
void |
setError(Error value)
Sets the value of the error property.
|
void |
setLogin(Login value)
Sets the value of the login property.
|
void |
setParaminfo(Paraminfo value)
Legt den Wert der paraminfo-Eigenschaft fest.
|
void |
setParse(Parse value)
Sets the value of the parse property.
|
void |
setQuery(Query query) |
void |
setRawJson(String rawJson) |
void |
setServedby(String servedby) |
void |
setTokens(Tokens value)
Sets the value of the tokens property.
|
void |
setWarnings(Warnings value)
Legt den Wert der warnings-Eigenschaft fest.
|
protected static Logger LOGGER
protected String rawJson
protected Query query
protected Login login
protected Error error
protected Createaccount createaccount
protected Warnings warnings
protected Tokens tokens
protected Edit edit
protected Delete delete
protected Parse parse
protected Paraminfo paraminfo
public Paraminfo getParaminfo()
Paraminfopublic void setParaminfo(Paraminfo value)
value - allowed object is
Paraminfopublic String getServedby()
public void setServedby(String servedby)
servedby - the servedby to setpublic String getRawJson()
public void setRawJson(String rawJson)
public Login getLogin()
Loginpublic void setLogin(Login value)
value - allowed object is Loginpublic Query getQuery()
public void setQuery(Query query)
query - the query to setpublic Error getError()
Errorpublic void setError(Error value)
value - allowed object is Errorpublic Warnings getWarnings()
Warningspublic void setWarnings(Warnings value)
value - allowed object is Warningspublic Tokens getTokens()
Tokenspublic void setTokens(Tokens value)
value - allowed object is Tokenspublic Createaccount getCreateaccount()
Createaccountpublic void setCreateaccount(Createaccount value)
value - allowed object is
Createaccountpublic Delete getDelete()
public void setDelete(Delete delete)
delete - the delete to setpublic void setEdit(Edit value)
value - allowed object is Editpublic Parse getParse()
Parsepublic void setParse(Parse value)
value - allowed object is Parsepublic static Api fromXML(String xml) throws Exception
xml - - xml representation of Page SchemaExceptionpublic JaxbFactoryApi<Api> getFactory()
getFactory in interface JaxbPersistenceApi<Api>public String asJson() throws JAXBException
asJson in interface JaxbPersistenceApi<Api>JAXBExceptionpublic String asXML() throws JAXBException
asXML in interface JaxbPersistenceApi<Api>JAXBExceptionCopyright © 2018 BITPlan GmbH. All rights reserved.