| Package | Description |
|---|---|
| org.htmlunit.xpath.functions |
Implements XPath functions -- each function is derived from Function,
FunctionOneArg, Function2Args, etc, with number-of-arguments checking being
applied mainly at compile time -- this package only implements XPath functions,
XSLT functions are found in the "templates" package.
|
| org.htmlunit.xpath.objects |
Implementation of XPath polymorphic type objects -- this package will grow
as XPath objects are expanded to support XML Schema data types.
|
| org.htmlunit.xpath.xml.dtm | |
| org.htmlunit.xpath.xml.dtm.ref | |
| org.htmlunit.xpath.xml.dtm.ref.dom2dtm |
| Modifier and Type | Method and Description |
|---|---|
protected XString |
FunctionDef1Arg.getArg0AsString(XPathContext xctxt)
Execute the first argument expression that is expected to return a string.
|
| Modifier and Type | Field and Description |
|---|---|
static XString |
XString.EMPTYSTRING
Empty string XString object
|
| Modifier and Type | Method and Description |
|---|---|
XString |
XString.fixWhiteSpace()
Conditionally trim all leading and trailing whitespace in the specified String.
|
XString |
XNodeSet.getStringFromNode(int n)
Get the string conversion from a single node.
|
XString |
XString.substring(int beginIndex)
Returns a new string that is a substring of this string.
|
XString |
XString.substring(int beginIndex,
int endIndex)
Returns a new string that is a substring of this string.
|
XString |
XString.trim()
Removes white space from both ends of this string.
|
XString |
XString.xstr()
Cast result object to a string.
|
XString |
XObject.xstr()
Cast result object to a string.
|
XString |
XNodeSet.xstr()
Cast result object to a string.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
XString.equals(XString obj2)
Compares this string to the specified object.
|
int |
XString.indexOf(XString str)
Returns the index within this string of the first occurrence of the specified substring.
|
boolean |
XString.startsWith(XString prefix)
Tests if this string starts with the specified prefix.
|
boolean |
XString.startsWith(XString prefix,
int toffset)
Tests if this string starts with the specified prefix beginning a specified index.
|
| Modifier and Type | Method and Description |
|---|---|
XString |
DTM.getStringValue(int nodeHandle)
Get the string-value of a node as a String object (see ...
|
| Modifier and Type | Method and Description |
|---|---|
abstract XString |
DTMDefaultBase.getStringValue(int nodeHandle)
Get the string-value of a node as a String object (see ...
|
| Modifier and Type | Method and Description |
|---|---|
XString |
DOM2DTM.getStringValue(int nodeHandle)
Get the string-value of a node as a String object (see ...
|
Copyright © 2022–2025 HtmlUnit. All rights reserved.