Package org.dlese.dpc.ndr.apiproxy
Class NDRConstants
java.lang.Object
org.dlese.dpc.ndr.apiproxy.NDRConstants
This class contains constants that are used in communicating with the NDR
- Author:
- ostwald
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSupported object types of the NDR, used in InputXML instances and responses.static enumPermitted values for Metadata and MetadataProvider Objects in the NDR to control their visibility to the OAI.static enumPermissible states for an NDRObject.static enumstatic enum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.dom4j.Namespacestatic final org.dom4j.Namespacestatic final Stringstatic final org.dom4j.Namespacestatic final org.dom4j.Namespacestatic Stringstatic Stringstatic StringNOT YET DOCUMENTEDstatic final Stringstatic final org.dom4j.Namespacestatic final Stringstatic final intTimeout for connections to ndr server in millisstatic final StringUsed in nsdl_dc_info data streamsstatic final org.dom4j.Namespacestatic final org.dom4j.Namespacestatic final org.dom4j.Namespace -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringstatic Stringstatic Stringstatic Stringstatic NDRConstants.NDRObjectTypegetNdrResponseType(String tag) static Filestatic voidConvenience method to assign values to the three values required for signed request to NDR.static voidsetMasterAgent(String handle) static voidsetMasterCollection(String handle) static voidsetNcsAgent(String agentHandle) static voidsetNdrApiBaseUrl(String url) static voidsetPrivateKeyFile(File file)
-
Field Details
-
DLESE_TEST_AGENT
- See Also:
-
NCS_TEST_AGENT
- See Also:
-
NDR_CONNECTION_TIMEOUT
public static final int NDR_CONNECTION_TIMEOUTTimeout for connections to ndr server in millis- See Also:
-
NSDL_DC_METADATA_NAMESPACE
Used in nsdl_dc_info data streams- See Also:
-
MASTER_COLLECTION
NOT YET DOCUMENTED -
MASTER_AGENT
-
FEED_EATER_AGENT
-
NCS_NAMESPACE
public static final org.dom4j.Namespace NCS_NAMESPACE -
DLESE_NAMESPACE
public static final org.dom4j.Namespace DLESE_NAMESPACE -
AUTH_NAMESPACE
public static final org.dom4j.Namespace AUTH_NAMESPACE -
FEDORA_MODEL_NAMESPACE
public static final org.dom4j.Namespace FEDORA_MODEL_NAMESPACE -
FEDORA_VIEW_NAMESPACE
public static final org.dom4j.Namespace FEDORA_VIEW_NAMESPACE -
NSDL_NAMESPACE
public static final org.dom4j.Namespace NSDL_NAMESPACE -
OAI_NAMESPACE
public static final org.dom4j.Namespace OAI_NAMESPACE -
WIKI_NAMESPACE
public static final org.dom4j.Namespace WIKI_NAMESPACE -
NCS_FINAL_STATUS
- See Also:
-
-
Constructor Details
-
NDRConstants
public NDRConstants()
-
-
Method Details
-
init
Convenience method to assign values to the three values required for signed request to NDR. -
getNdrResponseType
-
getNdrApiBaseUrl
-
setNdrApiBaseUrl
-
setNcsAgent
-
getNcsAgent
-
setPrivateKeyFile
-
getPrivateKeyFile
-
setMasterCollection
-
getMasterCollection
-
setMasterAgent
-
getMasterAgent
-