public abstract class ClientFgdcHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FGDC_DATA_FILE_DOCID_XPATH
Data Document ID location within an FGDC document.
|
static java.lang.String |
FGDC_DATA_FILE_NAME_XPATH |
static java.lang.String |
FGDC_DATA_FILE_NODES_XPATH
FGDC Data Document ID location within an FGDC document, relative to the "distinfo" parent node.
|
static java.lang.String |
FGDC_DATA_FILE_QUERY_XPATH |
static java.lang.String |
FGDC_DOCID_ROOT_XPATH |
static java.lang.String |
FGDC_DOCID_XPATH
Metadata Document ID location within an FGDC document.
|
static java.lang.String |
FGDC_FILE_NAME_XPATH |
static java.lang.String |
FGDC_SYSTEM_ID
Identifies the FGDC DTD.
|
static java.lang.String |
PATH4ANCESTOR |
static java.lang.String |
SUB_DOCS_PATH |
static java.lang.String |
XPATH_QUERY_TEMPLATE
Metadata Document ID query template within an FGDC document.
|
Constructor and Description |
---|
ClientFgdcHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
clientDeleteRequest(ClientView clientViewBean,
ClientViewHelper clientViewHelper)
Handles a client's request to delete a document.
|
static boolean |
handlePackageUpload(java.lang.String metaDocId,
java.util.HashMap dataDocIDs,
java.lang.String contactName,
java.lang.String metaFNm,
org.w3c.dom.Document metadataDoc) |
static boolean |
hasMetacatInfo(java.lang.String docId,
org.w3c.dom.Document metadataDoc) |
static boolean |
isFGDC(org.w3c.dom.Document metadataDoc) |
static void |
updateFileNameAndType(org.w3c.dom.Node root,
java.lang.String dataDocId,
java.lang.String[] fileInfo) |
static void |
updateMetadataFileName(org.w3c.dom.Node root,
java.lang.String metadataDocId,
java.lang.String fileName) |
public static final java.lang.String FGDC_DATA_FILE_DOCID_XPATH
public static final java.lang.String FGDC_DATA_FILE_QUERY_XPATH
public static final java.lang.String FGDC_DATA_FILE_NAME_XPATH
public static final java.lang.String FGDC_DATA_FILE_NODES_XPATH
public static final java.lang.String PATH4ANCESTOR
public static final java.lang.String SUB_DOCS_PATH
public static final java.lang.String FGDC_DOCID_XPATH
public static final java.lang.String FGDC_FILE_NAME_XPATH
public static final java.lang.String XPATH_QUERY_TEMPLATE
public static final java.lang.String FGDC_DOCID_ROOT_XPATH
public static final java.lang.String FGDC_SYSTEM_ID
public static void clientDeleteRequest(ClientView clientViewBean, ClientViewHelper clientViewHelper)
request
- HttpServletRequest which contains docId parameter.public static boolean handlePackageUpload(java.lang.String metaDocId, java.util.HashMap dataDocIDs, java.lang.String contactName, java.lang.String metaFNm, org.w3c.dom.Document metadataDoc) throws java.io.IOException
java.io.IOException
public static boolean isFGDC(org.w3c.dom.Document metadataDoc)
public static boolean hasMetacatInfo(java.lang.String docId, org.w3c.dom.Document metadataDoc)
public static void updateFileNameAndType(org.w3c.dom.Node root, java.lang.String dataDocId, java.lang.String[] fileInfo)
public static void updateMetadataFileName(org.w3c.dom.Node root, java.lang.String metadataDocId, java.lang.String fileName)
Copyright © 2020 Regents of the University of California. All Rights Reserved.