Uses of Class
org.htmlunit.xpath.objects.XString
-
Packages that use XString 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 -
-
Uses of XString in org.htmlunit.xpath.functions
Methods in org.htmlunit.xpath.functions that return XString Modifier and Type Method Description protected XString
FunctionDef1Arg. getArg0AsString(XPathContext xctxt)
Execute the first argument expression that is expected to return a string. -
Uses of XString in org.htmlunit.xpath.objects
Fields in org.htmlunit.xpath.objects declared as XString Modifier and Type Field Description static XString
XString. EMPTYSTRING
Empty string XString objectMethods in org.htmlunit.xpath.objects that return XString Modifier and Type Method Description XString
XString. fixWhiteSpace(boolean trimHead, boolean trimTail, boolean doublePunctuationSpaces)
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
XNodeSet. xstr()
Cast result object to a string.XString
XObject. xstr()
Cast result object to a string.XString
XString. xstr()
Cast result object to a string.Methods in org.htmlunit.xpath.objects with parameters of type XString Modifier and Type Method Description (package private) abstract boolean
Comparator. compareStrings(XString s1, XString s2)
Compare two strings(package private) boolean
EqualComparator. compareStrings(XString s1, XString s2)
Compare two strings(package private) boolean
GreaterThanComparator. compareStrings(XString s1, XString s2)
Compare two strings(package private) boolean
GreaterThanOrEqualComparator. compareStrings(XString s1, XString s2)
Compare two strings(package private) boolean
LessThanComparator. compareStrings(XString s1, XString s2)
Compare two strings(package private) boolean
LessThanOrEqualComparator. compareStrings(XString s1, XString s2)
Compare two strings(package private) boolean
NotEqualComparator. compareStrings(XString s1, XString s2)
Compare two stringsboolean
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. -
Uses of XString in org.htmlunit.xpath.xml.dtm
Methods in org.htmlunit.xpath.xml.dtm that return XString Modifier and Type Method Description XString
DTM. getStringValue(int nodeHandle)
Get the string-value of a node as a String object (see ... for the definition of a node's string-value). -
Uses of XString in org.htmlunit.xpath.xml.dtm.ref
Methods in org.htmlunit.xpath.xml.dtm.ref that return XString Modifier and Type Method Description abstract XString
DTMDefaultBase. getStringValue(int nodeHandle)
Get the string-value of a node as a String object (see ... for the definition of a node's string-value). -
Uses of XString in org.htmlunit.xpath.xml.dtm.ref.dom2dtm
Methods in org.htmlunit.xpath.xml.dtm.ref.dom2dtm that return XString Modifier and Type Method Description XString
DOM2DTM. getStringValue(int nodeHandle)
Get the string-value of a node as a String object (see ... for the definition of a node's string-value).
-