org.apache.xpath.objects
public class XNull extends XNodeSet
UNKNOWN: general
| Constructor Summary | |
|---|---|
| XNull()
Create an XObject. | |
| Method Summary | |
|---|---|
| boolean | bool()
Cast result object to a boolean.
|
| boolean | equals(XObject obj2)
Tell if two objects are functionally equal.
|
| int | getType()
Tell what kind of class this is.
|
| String | getTypeString()
Given a request type, return the equivalent string.
|
| double | num()
Cast result object to a number.
|
| int | rtf(XPathContext support)
Cast result object to a result tree fragment.
|
| String | str()
Cast result object to a string.
|
Returns: false
Parameters: obj2 Object to compare this to
Returns: True if the given object is of type CLASS_NULL
Returns: type CLASS_NULL
Returns: type string "#CLASS_NULL"
Returns: 0.0
Parameters: support XPath context to use for the conversion
Returns: The object as a result tree fragment.
Returns: empty string ""