public class AdminInfo
extends java.lang.Object
BES.ServerAdministrator=email:support@opendap.org BES.ServerAdministrator+=organization:OPeNDAP Inc. BES.ServerAdministrator+=street:165 NW Dean Knauss Dr. BES.ServerAdministrator+=city:Narragansett BES.ServerAdministrator+=region:RI BES.ServerAdministrator+=postalCode:02882 BES.ServerAdministrator+=country:US BES.ServerAdministrator+=telephone:+1.401.575.4835 BES.ServerAdministrator+=website:http://www.opendap.orgWhere each rValue is a key:value pair wher the key is al of the characters before the first colon ":" and the value is all of the characters after the colon ":". If one or more of these fields is missing or un-parsable then the default AdminInfo (see above) will be utilized.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CITY_DEFAULT |
static java.lang.String |
CITY_KEY |
static java.lang.String |
COUNTRY_DEFAULT |
static java.lang.String |
COUNTRY_KEY |
static java.lang.String |
EMAIL_DEFAULT |
static java.lang.String |
EMAIL_KEY |
static java.lang.String |
ORGANIZATION_DEFAULT |
static java.lang.String |
ORGANIZATION_KEY |
static java.lang.String |
POSTAL_CODE_DEFAULT |
static java.lang.String |
POSTAL_CODE_KEY |
static java.lang.String |
REGION_DEFAULT |
static java.lang.String |
REGION_KEY |
static java.lang.String |
STREET_DEFAULT |
static java.lang.String |
STREET_KEY |
static java.lang.String |
TELEPHONE_DEFAULT |
static java.lang.String |
TELEPHONE_KEY |
static java.lang.String |
WEBSITE_DEFAULT |
static java.lang.String |
WEBSITE_KEY |
Constructor and Description |
---|
AdminInfo()
Makes a default ServerAdmin object that holds the information for OPeNDAP Inc.
|
AdminInfo(BesApi besApi,
java.lang.String collectionName) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsJsonLdPublisher()
"publisher": {
"@type": "Organization",
"name": "@PublisherName@",
"address": {
"@type": "PostalAddress",
"addressCountry": "@Country@",
"addressLocality": "@Street,City@",
"addressRegion": "@State@",
"postalCode": "@PostalCode@"
},
"telephone": "@PublisherPhoneNumber@",
"email": "@PublisherEmail@",
"sameAs": "@OrganizationLandingPageURL@"
}
|
public static final java.lang.String EMAIL_KEY
public static final java.lang.String EMAIL_DEFAULT
public static final java.lang.String ORGANIZATION_KEY
public static final java.lang.String ORGANIZATION_DEFAULT
public static final java.lang.String STREET_KEY
public static final java.lang.String STREET_DEFAULT
public static final java.lang.String CITY_KEY
public static final java.lang.String CITY_DEFAULT
public static final java.lang.String REGION_KEY
public static final java.lang.String REGION_DEFAULT
public static final java.lang.String POSTAL_CODE_KEY
public static final java.lang.String POSTAL_CODE_DEFAULT
public static final java.lang.String COUNTRY_KEY
public static final java.lang.String COUNTRY_DEFAULT
public static final java.lang.String TELEPHONE_KEY
public static final java.lang.String TELEPHONE_DEFAULT
public static final java.lang.String WEBSITE_KEY
public static final java.lang.String WEBSITE_DEFAULT
public AdminInfo()
public AdminInfo(BesApi besApi, java.lang.String collectionName) throws BadConfigurationException, org.jdom.JDOMException, java.io.IOException, PPTException, BESError
besApi
- collectionName
- BadConfigurationException
org.jdom.JDOMException
java.io.IOException
PPTException
BESError
public java.lang.String getAsJsonLdPublisher()
"publisher": { "@type": "Organization", "name": "@PublisherName@", "address": { "@type": "PostalAddress", "addressCountry": "@Country@", "addressLocality": "@Street,City@", "addressRegion": "@State@", "postalCode": "@PostalCode@" }, "telephone": "@PublisherPhoneNumber@", "email": "@PublisherEmail@", "sameAs": "@OrganizationLandingPageURL@" }