Examples of asString()


Examples of org.jboss.dmr.client.ModelNode.asString()

                }
                else if("java.lang.String".equals(propBinding.getJavaTypeName()))
                {
                    // default
                    if(propValue.isDefined())
                        value = propValue.asString();
                    else
                        value = "";
                }
                else if ("java.util.List".equals(propBinding.getJavaTypeName()))
                {
View Full Code Here

Examples of org.jboss.jandex.AnnotationValue.asString()

        pushIfNotExist( ai );
      }
    }
    else {
      AnnotationValue value = annotationInstance.value( "name" );
      String name = value.asString();
      isNotExist = ( annName.equals( TABLE_GENERATOR ) && !tableGeneratorMap.containsKey( name ) ) ||
          ( annName.equals( SEQUENCE_GENERATOR ) && !sequenceGeneratorMap.containsKey( name ) ) ||
          ( annName.equals( NAMED_QUERY ) && !namedQueryMap.containsKey( name ) ) ||
          ( annName.equals( NAMED_NATIVE_QUERY ) && !namedNativeQueryMap.containsKey( name ) ) ||
          ( annName.equals( SQL_RESULT_SET_MAPPING ) && !sqlResultSetMappingMap.containsKey( name ) );
View Full Code Here

Examples of org.jboss.portal.common.text.CharBuffer.asString()

               }
               break;
            case PARAM_NAME:
               if (c == '&')
               {
                  String tmp = buffer.asString();

                  //
                  try
                  {
                     parameterDecoder.encode(tmp, buffer);
View Full Code Here

Examples of org.jboss.weld.serialization.spi.BeanIdentifier.asString()

            if (obj instanceof ManagedBeanIdentifier) {
                ManagedBeanIdentifier that = (ManagedBeanIdentifier) obj;
                return this.typeIdentifier.equals(that.typeIdentifier);
            }
            BeanIdentifier that = (BeanIdentifier) obj;
            return this.asString().equals(that.asString());
        }
        return false;
    }

    @Override
View Full Code Here

Examples of org.jruby.RubyString.asString()

                array = Pack.unpack(context.runtime, body, PACK_BASE64);
            } else { // Qencode
                array = Pack.unpack(context.runtime, body, PACK_QENCODE);
            }
            RubyString s = (RubyString) array.entry(0);
            ByteList decodeStr = s.asString().getByteList();

            return convert_byte(decodeStr, charset, options.get("output"));
        }

        RubyString makeRubyString(ArrayList<ByteList> list) {
View Full Code Here

Examples of org.jruby.runtime.builtin.IRubyObject.asString()

                tmp = RubyString.objAsString(context, tmp);
            }

            if (i > begin && !sep.isNil()) buf.append(strSep.getByteList());

            buf.append(tmp.asString().getByteList());
            if (tmp.isTaint()) taint = true;
        }

        RubyString result = runtime.newString(buf);
View Full Code Here

Examples of org.jsoup.helper.W3CDom.asString()

        Document doc = Jsoup.connect(url).get();

        W3CDom dom = new W3CDom();
        org.w3c.dom.Document wDoc = dom.fromJsoup(doc);
        assertEquals(url, wDoc.getDocumentURI());
        String html = dom.asString(wDoc);
        assertTrue(html.contains("jsoup"));
    }

}
View Full Code Here

Examples of org.modeshape.jcr.query.model.TypeSystem.asString()

                                }
                            };
                        case LIKE:
                            // Convert the LIKE expression to a regular expression
                            final TypeSystem types = context.getTypeSystem();
                            String expression = types.asString(rhs).trim();
                            if ("%".equals(expression)) {
                                // We'll accept any non-null value ...
                                return new DynamicOperandFilter(operation) {
                                    @Override
                                    protected boolean evaluate( Object leftHandValue ) {
View Full Code Here

Examples of org.neo4j.cypherdsl.AsString.asString()

                AsString asString = asStringList.get( i );
                if ( i > 0 )
                {
                    builder.append( separator );
                }
                asString.asString( builder );
            }
        }
    }
}
View Full Code Here

Examples of org.neo4j.cypherdsl.expression.Expression.asString()

            Expression expression = expressions[i];
            if ( i > 0 )
            {
                builder.append( separator );
            }
            expression.asString( builder );
        }
    }
}
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.