Package org.apache.xpath.objects

Examples of org.apache.xpath.objects.XObject.object()


        }
        // break; Unreachable
       
        // No default:, fall-through on purpose
      } // end switch
      xsltObj = xobj.object();
     
    } // end if if(xsltObj instanceof XObject)
   
    // At this point, we have a raw java object, not an XObject.
    if (null != xsltObj)
View Full Code Here


          m_key1Value = k1.m_col.getCollationKey(r.str());
        }

        if (r.getType() == XObject.CLASS_NODESET)
        {
          NodeIterator ni = (NodeIterator) r.object();

          if (ni instanceof ContextNodeList)
            tryNextKey = (((ContextNodeList) ni).getCurrentNode() != null);

          // else abdicate... should never happen, but... -sb
View Full Code Here

        }
        // break; Unreachable
       
        // No default:, fall-through on purpose
      } // end switch
      xsltObj = xobj.object();
     
    } // end if if(xsltObj instanceof XObject)
   
    // At this point, we have a raw java object.
    if(javaClass == java.lang.String.class)
View Full Code Here

      case XObject.CLASS_NUMBER:
        return Caster.toDouble(rs.num());
      case XObject.CLASS_STRING:
        return rs.str();
      default:
        return rs.object();
      }
    } catch (Throwable e) {
      throw Caster.toPageException(e);
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.