public class GoogleBaseParser extends Object implements ModuleParser
Modifier and Type | Field and Description |
---|---|
static char[] |
FLOAT_CHARS |
static char[] |
INTEGER_CHARS |
static SimpleDateFormat |
LONG_DT_FMT |
static SimpleDateFormat |
SHORT_DT_FMT |
Constructor and Description |
---|
GoogleBaseParser() |
Modifier and Type | Method and Description |
---|---|
String |
getNamespaceUri()
Returns the namespace URI this parser handles.
|
Module |
parse(org.jdom2.Element element,
Locale locale)
Parses the XML node (JDOM element) extracting module information.
|
static String |
stripNonValidCharacters(char[] validCharacters,
String input) |
public static final char[] INTEGER_CHARS
public static final char[] FLOAT_CHARS
public static final SimpleDateFormat SHORT_DT_FMT
public static final SimpleDateFormat LONG_DT_FMT
public Module parse(org.jdom2.Element element, Locale locale)
ModuleParser
parse
in interface ModuleParser
element
- the XML node (JDOM element) to extract module information from.public static String stripNonValidCharacters(char[] validCharacters, String input)
public String getNamespaceUri()
ModuleParser
getNamespaceUri
in interface ModuleParser
Copyright © 2022. All rights reserved.