Package | Description |
---|---|
util |
A collection of utility classes for the SiGML Input Library.
|
Modifier and Type | Method and Description |
---|---|
static RE.AV |
RE.findAVq(java.lang.String avtext,
java.lang.String are,
java.lang.String qvre)
Scans the given text for an attribute='value' string
characterized by the given attribute name and quoted value REs,
returning an appropriate
RE.AV pair if successful, or
null otherwise. |
static RE.AV |
RE.getAV(java.lang.String avtext,
java.lang.String are,
java.lang.String vre)
Attempts to parse the given text (in its entirety) as an
attribute='value' string characterized by the given
attribute name and unquoted value REs, returning
an appropriate
RE.AV pair if successful, or
null otherwise. |
static RE.AV |
RE.getAVBool(java.lang.String avtext,
java.lang.String are)
Attempts to parse the given text (in its entirety) as an
attribute='value' string characterized by the given
attribute name RE and a boolean value, returning
an appropriate
RE.AV pair if successful, or
null otherwise. |
static RE.AV |
RE.getAVInt(java.lang.String avtext,
java.lang.String are)
Attempts to parse the given text (in its entirety) as an
attribute='value' string characterized by the given
attribute name and a non-negative integer value, returning
an appropriate
RE.AV pair if successful, or
null otherwise. |
static RE.AV |
RE.getAVq(java.lang.String avtext,
java.lang.String are,
java.lang.String qvre)
Attempts to parse the given text (in its entirety) as an
attribute='value' string characterized by the given
attribute name and quoted value REs, returning
an appropriate
RE.AV pair if successful, or
null otherwise. |
static RE.AV |
RE.getNameAV(java.lang.String avtext)
|
static RE.AV |
RE.getWordAV(java.lang.String avtext)
|
Modifier and Type | Method and Description |
---|---|
static boolean |
RE.boolResult(RE.AV av)
Returns the boolean value defined by the given
RE.AV
structure, or false if the given AV reference is
null. |
static boolean |
RE.boolResult(RE.AV av,
boolean bdefault)
Returns the boolean value defined by the given
RE.AV
structure, or the given default value if the given AV reference is
null. |
static int |
RE.intResult(RE.AV av)
Returns the non-negative integer value defined by the given
RE.AV structure, or -1 if the given AV
reference is null. |