|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dlese.dpc.suggest.SuggestUtils
public class SuggestUtils
Utilities supporting the Suggestor clients.
| Field Summary | |
|---|---|
static String |
BriefDateFormatString
NOT YET DOCUMENTED |
static String |
FullDateFormatString
NOT YET DOCUMENTED |
| Constructor Summary | |
|---|---|
SuggestUtils()
|
|
| Method Summary | |
|---|---|
static String[] |
commaDelimitedToArray(String s)
Converts a comma-delimited string into a String array. |
static String |
getBriefDate()
Returns current time in yyyy-MM-dd format |
static ArrayList |
getEnumeratedValues(Document doc,
String xpath)
Gets the enumeratedValues of the element of doc at xpath. |
static String |
getFullDate()
returns current time in "yyyy-MM-dd'T'HH:mm:ss'Z'" format |
static String |
getNameSpaceInfo(SchemaHelper schemaHelper)
Calculates the nameSpaceInfo attribute for item records. |
static void |
setDebug(boolean db)
Sets the debug attribute |
static boolean |
validateEmail(String email)
Simple email validation, throwing Exception containing error if not valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String FullDateFormatString
public static String BriefDateFormatString
| Constructor Detail |
|---|
public SuggestUtils()
| Method Detail |
|---|
public static boolean validateEmail(String email)
throws Exception
Validates eemail address against two rules:
email - NOT YET DOCUMENTED
Exception - NOT YET DOCUMENTED
public static ArrayList getEnumeratedValues(Document doc,
String xpath)
doc - an Documentxpath - xpath to a specific Element
public static String getNameSpaceInfo(SchemaHelper schemaHelper)
schemaHelper - NOT YET DOCUMENTED
public static String getFullDate()
public static String getBriefDate()
public static String[] commaDelimitedToArray(String s)
s - comma-delimted string
public static void setDebug(boolean db)
db - The new debug value
|
DLESE Tools v1.6.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||