| Modifier and Type | Field and Description |
|---|---|
| public static final int | CLASS_BOOLEAN
Constant for BOOLEAN object type |
| public static final int | CLASS_NODESET
Constant for NODESET object type |
| public static final int | CLASS_NULL
Constant for NULL object type |
| public static final int | CLASS_NUMBER
Constant for NUMBER object type |
| public static final int | CLASS_RTREEFRAG
Constant for RESULT TREE FRAGMENT object type |
| public static final int | CLASS_STRING
Constant for STRING object type |
| public static final int | CLASS_UNKNOWN
Constant for UNKNOWN object type |
| public static final int | CLASS_UNRESOLVEDVARIABLE
Represents an unresolved variable type as an integer. |
| protected Object | m_obj
The java object which this object wraps. |
| pack-priv static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | allowDetachToRelease(boolean
true if it is OK for detach to release this iterator
for pooling. allowRelease)Specify if it's OK for detach to release the iterator for reuse. |
| public void | Returns: The string this wraps or the empty string if nullCast result object to a string. |
| public boolean | |
| public boolean | Returns: True if there is a next node in the nodesetCast result object to a boolean, but allow side effects, such as the incrementing of an iterator. |
| public void | callVisitors(ExpressionOwner owner, XPathVisitor visitor)
Implements com. This will traverse the heararchy, calling the visitor for each member. |
| public Object | Returns: This object as the given type tType of object to cast this to t, XPathContext XPath context to use for the conversion support)Cast object to type t. |
| public static XObject | |
| public static XObject | Returns: the right XObject based on the type of the object passed.The java object which this object will wrap. val, XPathContext The XPath context. xctxt)Create the right XObject based on the type of the object passed.</emph> |
| public boolean | deepEquals(Expression expr)
Implements abstract com. Compare this object with another object and see if they are equal, include the sub heararchy. |
| public void | |
| public void | detach()
Detaches the |
| public void | dispatchCharactersEvents(ContentHandler
A non-null reference to a ContentHandler. ch)Directly call the characters method on the passed ContentHandler for the string-value. |
| public boolean | |
| protected void | |
| protected void | |
| public XObject | Returns: This object.The XPath execution context. xctxt)Implements abstract com. For support of literal objects in xpaths. |
| public void | fixupVariables(List<QName> vars, int globalsSize)
Implements abstract com. XObjects should not normally need to fix up variables. |
| public XObject | |
| public int | |
| public String | Returns: type string "#UNKNOWN" + object class nameGiven a request type, return the equivalent string. |
| public boolean | Returns: True if this object is greater than the given objectObject to compare this to obj2)Tell if one object is greater than the other. |
| public boolean | Returns: True if this object is greater than or equal to the given objectObject to compare this to obj2)Tell if one object is greater than or equal to the other. |
| public DTMIterator | |
| public boolean | |
| public boolean | Returns: True if this object is less than or equal to the given objectObject to compare this to obj2)Tell if one object is less than or equal to the other. |
| public NodeSetDTM | |
| public NodeList | |
| public NodeIterator | |
| public boolean | |
| public double | |
| public double | Returns: numeric value of the string conversion from the next node in the NodeSetDTM, or NAN if no node was foundCast result object to a number, but allow side effects, such as the incrementing of an iterator. |
| public Object | Returns: The object that this class wrapsReturn a java object that's closest to the representation that should be handed to an extension. |
| public void | |
| public int | Returns: the objec as a result tree fragment.XPath context to use for the conversion support)Cast result object to a result tree fragment. |
| public int | |
| public DocumentFragment | Returns: the objec as a result tree fragment.XPath context to use for the conversion support)Cast result object to a result tree fragment. |
| public DocumentFragment | |
| protected void | |
| public String | |
| public String | Returns: the string representation of the objectOverrides java. Return the string representation of the object |
| public XMLString |
| CLASS_BOOLEAN | back to summary |
|---|---|
| public static final int CLASS_BOOLEAN Constant for BOOLEAN object type | |
| CLASS_NODESET | back to summary |
|---|---|
| public static final int CLASS_NODESET Constant for NODESET object type | |
| CLASS_NULL | back to summary |
|---|---|
| public static final int CLASS_NULL Constant for NULL object type | |
| CLASS_NUMBER | back to summary |
|---|---|
| public static final int CLASS_NUMBER Constant for NUMBER object type | |
| CLASS_RTREEFRAG | back to summary |
|---|---|
| public static final int CLASS_RTREEFRAG Constant for RESULT TREE FRAGMENT object type | |
| CLASS_STRING | back to summary |
|---|---|
| public static final int CLASS_STRING Constant for STRING object type | |
| CLASS_UNKNOWN | back to summary |
|---|---|
| public static final int CLASS_UNKNOWN Constant for UNKNOWN object type | |
| CLASS_UNRESOLVEDVARIABLE | back to summary |
|---|---|
| public static final int CLASS_UNRESOLVEDVARIABLE Represents an unresolved variable type as an integer. | |
| m_obj | back to summary |
|---|---|
| protected Object m_obj The java object which this object wraps.
| |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides com. | |
| XObject | back to summary |
|---|---|
| public XObject() Create an XObject. | |
| XObject | back to summary |
|---|---|
| public XObject(Object obj) Create an XObject.
| |
| allowDetachToRelease | back to summary |
|---|---|
| public void allowDetachToRelease(boolean allowRelease) Specify if it's OK for detach to release the iterator for reuse. This function should be called with a value of false for objects that are stored in variables. Calling this with a value of false on a XNodeSet will cause the nodeset to be cached.
| |
| appendToFsb | back to summary |
|---|---|
| public void appendToFsb(FastStringBuffer fsb) Cast result object to a string. NEEDSDOC @param fsb
| |
| bool | back to summary |
|---|---|
| public boolean bool() throws TransformerException Cast result object to a boolean. Always issues an error.
| |
| boolWithSideEffects | back to summary |
|---|---|
| public boolean boolWithSideEffects() throws TransformerException Cast result object to a boolean, but allow side effects, such as the incrementing of an iterator.
| |
| callVisitors | back to summary |
|---|---|
| public void callVisitors(ExpressionOwner owner, XPathVisitor visitor) Implements com. Doc from com. This will traverse the heararchy, calling the visitor for each member. If the called visitor method returns false, the subtree should not be called. | |
| castToType | back to summary |
|---|---|
| public Object castToType(int t, XPathContext support) throws TransformerException Cast object to type t.
| |
| create | back to summary |
|---|---|
| public static XObject create(Object val) Create the right XObject based on the type of the object passed. This function can not make an XObject that exposes DOM Nodes, NodeLists, and NodeIterators to the XSLT stylesheet as node-sets. | |
| create | back to summary |
|---|---|
| public static XObject create(Object val, XPathContext xctxt) Create the right XObject based on the type of the object passed.
This function
| |
| deepEquals | back to summary |
|---|---|
| public boolean deepEquals(Expression expr) Implements abstract com. Doc from com. Compare this object with another object and see if they are equal, include the sub heararchy.
| |
| destruct | back to summary |
|---|---|
| public void destruct() Forces the object to release it's resources. This is more harsh than detach(). | |
| detach | back to summary |
|---|---|
| public void detach() Detaches the | |
| dispatchCharactersEvents | back to summary |
|---|---|
| public void dispatchCharactersEvents(ContentHandler ch) throws SAXException Directly call the characters method on the passed ContentHandler for the string-value. Multiple calls to the ContentHandler's characters methods may well occur for a single call to this method.
| |
| equals | back to summary |
|---|---|
| public boolean equals(XObject obj2) Tell if two objects are functionally equal.
| |
| error | back to summary |
|---|---|
| protected void error(String msg) throws TransformerException Tell the user of an error, and probably throw an exception.
| |
| error | back to summary |
|---|---|
| protected void error(String msg, Object[] args) throws TransformerException Tell the user of an error, and probably throw an exception. | |
| execute | back to summary |
|---|---|
| public XObject execute(XPathContext xctxt) throws TransformerException Implements abstract com. For support of literal objects in xpaths.
| |
| fixupVariables | back to summary |
|---|---|
| public void fixupVariables(List<QName> vars, int globalsSize) Implements abstract com. XObjects should not normally need to fix up variables. | |
| getFresh | back to summary |
|---|---|
| public XObject getFresh() Get a fresh copy of the object. For use with variables.
| |
| getType | back to summary |
|---|---|
| public int getType() Tell what kind of class this is.
| |
| getTypeString | back to summary |
|---|---|
| public String getTypeString() Given a request type, return the equivalent string. For diagnostic purposes.
| |
| greaterThan | back to summary |
|---|---|
| public boolean greaterThan(XObject obj2) throws TransformerException Tell if one object is greater than the other.
| |
| greaterThanOrEqual | back to summary |
|---|---|
| public boolean greaterThanOrEqual(XObject obj2) throws TransformerException Tell if one object is greater than or equal to the other.
| |
| iter | back to summary |
|---|---|
| public DTMIterator iter() throws TransformerException Cast result object to a nodelist. Always issues an error.
| |
| lessThan | back to summary |
|---|---|
| public boolean lessThan(XObject obj2) throws TransformerException Tell if one object is less than the other.
| |
| lessThanOrEqual | back to summary |
|---|---|
| public boolean lessThanOrEqual(XObject obj2) throws TransformerException Tell if one object is less than or equal to the other.
| |
| mutableNodeset | back to summary |
|---|---|
| public NodeSetDTM mutableNodeset() throws TransformerException Cast result object to a nodelist. Always issues an error.
| |
| nodelist | back to summary |
|---|---|
| public NodeList nodelist() throws TransformerException Cast result object to a nodelist. Always issues an error.
| |
| nodeset | back to summary |
|---|---|
| public NodeIterator nodeset() throws TransformerException Cast result object to a nodelist. Always issues an error.
| |
| notEquals | back to summary |
|---|---|
| public boolean notEquals(XObject obj2) throws TransformerException Tell if two objects are functionally not equal.
| |
| num | back to summary |
|---|---|
| public double num() throws TransformerException Cast result object to a number. Always issues an error.
| |
| numWithSideEffects | back to summary |
|---|---|
| public double numWithSideEffects() throws TransformerException Cast result object to a number, but allow side effects, such as the incrementing of an iterator.
| |
| object | back to summary |
|---|---|
| public Object object() Return a java object that's closest to the representation that should be handed to an extension.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset for fresh reuse. | |
| rtf | back to summary |
|---|---|
| public int rtf(XPathContext support) Cast result object to a result tree fragment.
| |
| rtf | back to summary |
|---|---|
| public int rtf() For functions to override.
| |
| rtree | back to summary |
|---|---|
| public DocumentFragment rtree(XPathContext support) Cast result object to a result tree fragment.
| |
| rtree | back to summary |
|---|---|
| public DocumentFragment rtree() For functions to override.
| |
| setObject | back to summary |
|---|---|
| protected void setObject(Object obj) | |
| str | back to summary |
|---|---|
| public String str() Cast result object to a string.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return the string representation of the object
| |
| xstr | back to summary |
|---|---|
| public XMLString xstr() Cast result object to a string.
| |