public class SLDParseHelper
extends java.lang.Object
| Constructor and Description |
|---|
SLDParseHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isStringNumeric(java.lang.String s)
Is the string numeric?
https://developer.android.com/reference/java/lang/Double.html#valueOf(java.lang.String)
|
static java.lang.String |
nodeTextValue(org.xmlpull.v1.XmlPullParser parser)
Get the text value from the node, and exit the node.
|
static void |
skip(org.xmlpull.v1.XmlPullParser parser)
Skip the current node.
|
static java.lang.String |
stringForLiteralInNode(org.xmlpull.v1.XmlPullParser parser)
Get the text value from the node if it is plain text (or within if it's a Literal) and exit the node.
|
public static void skip(org.xmlpull.v1.XmlPullParser parser)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
parser - The XmlPullParser instanceorg.xmlpull.v1.XmlPullParserExceptionjava.io.IOExceptionpublic static java.lang.String nodeTextValue(org.xmlpull.v1.XmlPullParser parser)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
parser - The XmlPullParser instanceorg.xmlpull.v1.XmlPullParserExceptionjava.io.IOExceptionpublic static java.lang.String stringForLiteralInNode(org.xmlpull.v1.XmlPullParser parser)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
parser - The XmlPullParser instanceorg.xmlpull.v1.XmlPullParserExceptionjava.io.IOExceptionpublic static boolean isStringNumeric(java.lang.String s)
s - The string