|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.grants.apply.xpath.GrantApplicationXpath
Grant application Xpath class.
Field Summary | |
static java.lang.String |
AGENCY_NAME_XPATH
|
static java.lang.String |
CFDA_NUMBER_XPATH
|
static java.lang.String |
CLOSING_DATE_XPATH
|
static java.lang.String |
COMPETITION_ID_XPATH
|
static java.lang.String |
FORMS_XPATH
|
static java.lang.String |
GLOBAL_NS
|
static java.lang.String |
GS_HEADER_XPATH
|
static java.lang.String |
HASH_XPATH
|
static java.lang.String |
HASHVALUE
|
static java.lang.String |
HEADER_XPATH
|
(package private) static org.apache.log4j.Logger |
log
|
static java.lang.String |
OPPORTUNITY_ID_XPATH
|
static java.lang.String |
OPPORTUNITY_TITLE_XPATH
|
static java.lang.String |
SUBMISSION_TITLE_XPATH
|
Constructor Summary | |
GrantApplicationXpath(java.lang.String xmlDoc)
|
Method Summary | |
java.lang.String |
getAgencyName()
|
java.lang.String |
getCfdaNumber()
|
java.lang.String |
getClosingDate()
|
java.lang.String |
getCompetitionId()
|
XPathExecutor |
getExecutor()
|
org.w3c.dom.Node |
getFormsNode()
Get the <grant:Forms> Node. |
org.w3c.dom.Node |
getHashNode()
Get the <glob:HashValue> Node. |
java.lang.String |
getHeaderHashValue()
Get the value in the <glob:HashValue> element. |
org.w3c.dom.Node |
getHeaderNode()
Get the <header:GrantSubmissionHeader> Node. |
java.lang.String |
getOpportunityId()
|
java.lang.String |
getOpportunityTitle()
|
java.lang.String |
getSubmissionTitle()
|
static void |
main(java.lang.String[] args)
|
void |
setExecutor(XPathExecutor executor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final org.apache.log4j.Logger log
public static final java.lang.String GS_HEADER_XPATH
public static final java.lang.String OPPORTUNITY_ID_XPATH
public static final java.lang.String CFDA_NUMBER_XPATH
public static final java.lang.String OPPORTUNITY_TITLE_XPATH
public static final java.lang.String CLOSING_DATE_XPATH
public static final java.lang.String AGENCY_NAME_XPATH
public static final java.lang.String COMPETITION_ID_XPATH
public static final java.lang.String SUBMISSION_TITLE_XPATH
public static final java.lang.String HASHVALUE
public static final java.lang.String FORMS_XPATH
public static final java.lang.String HEADER_XPATH
public static final java.lang.String HASH_XPATH
public static final java.lang.String GLOBAL_NS
Constructor Detail |
public GrantApplicationXpath(java.lang.String xmlDoc) throws java.lang.Exception
Method Detail |
public XPathExecutor getExecutor()
public void setExecutor(XPathExecutor executor)
executor
- the XPathExecutor.public org.w3c.dom.Node getFormsNode() throws javax.xml.transform.TransformerException
<grant:Forms>
Node.
<grant:Forms>
tag in the XML document.
javax.xml.transform.TransformerException
public org.w3c.dom.Node getHeaderNode() throws javax.xml.transform.TransformerException
<header:GrantSubmissionHeader>
Node.
<header:GrantSubmissionHeader>
tag in the
XML document.
javax.xml.transform.TransformerException
public org.w3c.dom.Node getHashNode() throws javax.xml.transform.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.
javax.xml.transform.TransformerException
public java.lang.String getHeaderHashValue() throws java.lang.Exception
<glob:HashValue>
element.
<glob:HashValue>
element or
null
if the element does not exist or is empty.
java.lang.Exception
public java.lang.String getAgencyName() throws java.lang.Exception
java.lang.Exception
public java.lang.String getCfdaNumber() throws java.lang.Exception
java.lang.Exception
public java.lang.String getClosingDate() throws java.lang.Exception
java.lang.Exception
public java.lang.String getOpportunityId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getOpportunityTitle() throws java.lang.Exception
java.lang.Exception
public java.lang.String getCompetitionId() throws java.lang.Exception
java.lang.Exception
public java.lang.String getSubmissionTitle() throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |