Examples of str()


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

    {
      org.apache.xpath.XPathContext xctxt
        = context.getTransformer().getXPathContext();
      XPath myxpath = new XPath(fileNameExpr, elem, xctxt.getNamespaceContext(), XPath.SELECT);
      XObject xobj = myxpath.execute(xctxt, context.getContextNode(), elem);
      fileName = xobj.str();
      if((null == fileName) || (fileName.length() == 0))
      {
        fileName = elem.getAttribute ("file",
                                      context.getContextNode(),
                                      context.getTransformer());
View Full Code Here

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

        switch (type)
        {
        case XObject.CLASS_BOOLEAN :
        case XObject.CLASS_NUMBER :
        case XObject.CLASS_STRING :
          s = value.str();

          handler.characters(s.toCharArray(), 0, s.length());
          break;
        case XObject.CLASS_NODESET :
View Full Code Here

Examples of org.jboss.test.kernel.deployment.xml.support.AnnotationWithAttributes.str()

      AnnotationWithAttributes ann1 = (AnnotationWithAttributes)ann;
      assertNotNull(ann1.clazz());
      assertEquals(Integer.class, ann1.clazz());
      assertNotNull(ann1.integer());
      assertEquals(100, ann1.integer());
      assertNotNull(ann1.str());
      assertEquals("Annotations are nice", ann1.str());
   }

   public static Test suite()
   {
View Full Code Here

Examples of siena.Json.str()

    Set<String> keys = json.keys();
    for (String key : keys) {
      if("@".equals(key)) {
        Json value = json.get(key);
        if(value.isString()) {
          element.setText(value.str());
        } else {
          Set<String> ks = value.keys();
          for (String k : ks) {
            Element child = element.addElement(k);
            fromJson(value.get(k), child);
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.