public class GrantApplicationXpath extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AGENCY_NAME_XPATH |
static String |
CFDA_NUMBER_XPATH |
static String |
CLOSING_DATE_XPATH |
static String |
COMPETITION_ID_XPATH |
static String |
FORMS_XPATH |
static String |
GLOBAL_NS |
static String |
GS_HEADER_XPATH |
static String |
HASH_XPATH |
static String |
HASHVALUE |
static String |
HEADER_XPATH |
static String |
OPPORTUNITY_ID_XPATH |
static String |
OPPORTUNITY_TITLE_XPATH |
static String |
SUBMISSION_TITLE_XPATH |
| Constructor and Description |
|---|
GrantApplicationXpath(String xmlDoc) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAgencyName() |
String |
getCfdaNumber() |
String |
getClosingDate() |
String |
getCompetitionId() |
XPathExecutor |
getExecutor() |
Node |
getFormsNode()
Get the
<grant:Forms> Node. |
Node |
getHashNode()
Get the
<glob:HashValue> Node. |
String |
getHeaderHashValue()
Get the value in the
<glob:HashValue> element. |
Node |
getHeaderNode()
Get the
<header:GrantSubmissionHeader> Node. |
String |
getOpportunityId() |
String |
getOpportunityTitle() |
String |
getSubmissionTitle() |
void |
setExecutor(XPathExecutor executor) |
public static final String GS_HEADER_XPATH
public static final String OPPORTUNITY_ID_XPATH
public static final String CFDA_NUMBER_XPATH
public static final String OPPORTUNITY_TITLE_XPATH
public static final String CLOSING_DATE_XPATH
public static final String AGENCY_NAME_XPATH
public static final String COMPETITION_ID_XPATH
public static final String SUBMISSION_TITLE_XPATH
public static final String HASHVALUE
public static final String FORMS_XPATH
public static final String HEADER_XPATH
public static final String HASH_XPATH
public static final String GLOBAL_NS
public GrantApplicationXpath(String xmlDoc) throws Exception
Exceptionpublic XPathExecutor getExecutor()
public void setExecutor(XPathExecutor executor)
executor - the XPathExecutor.public Node getFormsNode() throws TransformerException
<grant:Forms> Node.<grant:Forms>
tag in the XML document.TransformerExceptionpublic Node getHeaderNode() throws TransformerException
<header:GrantSubmissionHeader> Node.<header:GrantSubmissionHeader> tag in the
XML document.TransformerExceptionpublic Node getHashNode() throws TransformerException
<glob:HashValue> Node. If the Node does not
exist, create one and add it to the Document.<glob:HashValue>
tag in the XML document.TransformerExceptionpublic String getHeaderHashValue() throws Exception
<glob:HashValue> element.<glob:HashValue> element or
null if the element does not exist or is empty.Exceptionpublic String getAgencyName() throws Exception
Exceptionpublic String getCfdaNumber() throws Exception
Exceptionpublic String getClosingDate() throws Exception
Exceptionpublic String getOpportunityId() throws Exception
Exceptionpublic String getOpportunityTitle() throws Exception
Exceptionpublic String getCompetitionId() throws Exception
Exceptionpublic String getSubmissionTitle() throws Exception
ExceptionCopyright © 2014–2015 The Kuali Foundation. All rights reserved.