public class OleGokbXmlUtil extends Object
Constructor and Description |
---|
OleGokbXmlUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
getCompleteListSize(String results)
This method returns the complete list size from the response.
|
static NodeList |
getElementNodeList(String docContent,
String xpathExpression)
This method returns ElementValue using docContent and xpathExpression..
|
static String |
getGokbUrl() |
static String |
getIdentifierFromHeader(Node headerNode)
This method returns identifier from the header.
|
static String |
getOrgsResponseXmlFromGokb(int endIndex)
This method returns the organization response from the url.
|
static String |
getOrgsResponseXmlFromGokb(String identifier)
This method returns the organization response based on the identifier from the url.
|
static String |
getOrgsResponseXmlFromGokb(String lastUpdatedTime,
int endIndex)
This method returns the organization response based on the last update time from the url.
|
static String |
getPackageResponseXmlFromGokb(int endIndex)
This method returns the package response from the url.
|
static String |
getPackageResponseXmlFromGokb(String identifier)
This method returns the package response based on the identifier from the url.
|
static String |
getPackageResponseXmlFromGokb(String lastUpdatedTime,
int endIndex)
This method returns the package response based on the last update time from the url.
|
static int |
getPageSizeFromResponse(String responseXml)
This method returns the page size from the response.
|
static String |
getPlatformResponseXmlFromGokb(int endIndex)
This method returns the platform response from the url.
|
static String |
getPlatformResponseXmlFromGokb(String identifier)
This method returns the platform response based on the identifier from the url.
|
static String |
getPlatformResponseXmlFromGokb(String lastUpdatedTime,
int endIndex)
This method returns the platfrom response based on the last update time from the url.
|
static String |
getStringFromTimeStamp(Timestamp timestamp)
This method returns string from timestamp.
|
static Timestamp |
getTimeStampFromString(String date)
This method returns the timestamp from string.
|
static String |
getTitleResponseXmlFromGokb(int endIndex)
This method returns the title response from the url.
|
static String |
getTitleResponseXmlFromGokb(String identifier)
This method returns the title response based on the identifier from the url.
|
static String |
getTitleResponseXmlFromGokb(String lastUpdatedTime,
int endIndex)
This method returns the title response based on the last update time from the url.
|
static List<String> |
getUpdatedDates(String results)
This method returns the update dates from the response.
|
static void |
setGokbUrl(String url) |
public OleGokbXmlUtil()
public static String getPackageResponseXmlFromGokb(int endIndex)
endIndex
- public static String getTitleResponseXmlFromGokb(int endIndex)
endIndex
- public static String getPlatformResponseXmlFromGokb(int endIndex)
endIndex
- public static String getOrgsResponseXmlFromGokb(int endIndex)
endIndex
- public static String getPackageResponseXmlFromGokb(String lastUpdatedTime, int endIndex)
lastUpdatedTime
- endIndex
- public static String getPlatformResponseXmlFromGokb(String lastUpdatedTime, int endIndex)
lastUpdatedTime
- endIndex
- public static String getTitleResponseXmlFromGokb(String lastUpdatedTime, int endIndex)
lastUpdatedTime
- endIndex
- public static String getOrgsResponseXmlFromGokb(String lastUpdatedTime, int endIndex)
lastUpdatedTime
- endIndex
- public static String getPackageResponseXmlFromGokb(String identifier)
identifier
- public static String getPlatformResponseXmlFromGokb(String identifier)
identifier
- public static String getTitleResponseXmlFromGokb(String identifier)
identifier
- public static String getOrgsResponseXmlFromGokb(String identifier)
identifier
- public static NodeList getElementNodeList(String docContent, String xpathExpression)
docContent
- xpathExpression
- public static int getPageSizeFromResponse(String responseXml)
responseXml
- public static int getCompleteListSize(String results)
results
- public static List<String> getUpdatedDates(String results)
results
- public static Timestamp getTimeStampFromString(String date)
date
- public static String getStringFromTimeStamp(Timestamp timestamp)
timestamp
- public static String getIdentifierFromHeader(Node headerNode)
headerNode
- public static String getGokbUrl()
public static void setGokbUrl(String url)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.