Examples of Symbol


Examples of org.apache.qpid.proton.type.Symbol

                    o.setDynamic(dynamic == null ? false : dynamic);
                case 7:
                    UnsignedInteger timeout = (UnsignedInteger) l.get(3);
                    o.setTimeout(timeout == null ? UnsignedInteger.ZERO : timeout);
                case 8:
                    Symbol expiryPolicy = (Symbol) l.get(2);
                    o.setExpiryPolicy(expiryPolicy == null ? TerminusExpiryPolicy.SESSION_END : expiryPolicy);
                case 9:
                    UnsignedInteger durable = (UnsignedInteger) l.get(1);
                    o.setDurable(durable == null ? TerminusDurability.NONE : durable);
                case 10:
View Full Code Here

Examples of org.apache.tapestry.ioc.annotations.Symbol

    {
        SymbolSource source = mockSymbolSource();
        TypeCoercer coercer = mockTypeCoercer();
        AnnotationProvider annotationProvider = mockAnnotationProvider();
        ObjectLocator locator = mockObjectLocator();
        Symbol annotation = newMock(Symbol.class);
        String symbolName = "example-symbol";
        String symbolValue = "symbol-value";
        Long coercedValue = 123l;

        train_getAnnotation(annotationProvider, Symbol.class, annotation);

        expect(annotation.value()).andReturn(symbolName);

        train_valueForSymbol(source, symbolName, symbolValue);

        train_coerce(coercer, symbolValue, Long.class, coercedValue);
View Full Code Here

Examples of org.apache.tapestry5.ioc.annotations.Symbol

    }

    @Override
    public <T> T provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator)
    {
        Symbol annotation = annotationProvider.getAnnotation(Symbol.class);

        if (annotation == null) return null;

        Object value = symbolSource.valueForSymbol(annotation.value());

        IntermediateType it = annotationProvider.getAnnotation(IntermediateType.class);

        if (it != null) value = typeCoercer.coerce(value, it.value());
View Full Code Here

Examples of org.bson.types.Symbol

      return parseValue( value );
      }
    }
  else if( currentType == org.bson.types.Symbol.class )
    {
    return new Symbol( value );
    }
  else
    {
    return parseValue( value );
    }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.juel.Scanner.Symbol

   * dynmamic := &lt;START_EVAL_DYNAMIC&gt; expr &lt;END_EVAL&gt;
   * deferred := &lt;START_EVAL_DEFERRED&gt; expr &lt;END_EVAL&gt;
   */
  protected AstEval eval(boolean required, boolean deferred) throws ScanException, ParseException {
    AstEval v = null;
    Symbol start_eval = deferred ? START_EVAL_DEFERRED : START_EVAL_DYNAMIC;
    if (token.getSymbol() == start_eval) {
      consumeToken();
      v = new AstEval(expr(true), deferred);
      consumeToken(END_EVAL);
    } else if (required) {
View Full Code Here

Examples of org.contikios.cooja.mote.memory.MemoryInterface.Symbol

        Matcher matcher = pattern.matcher(line);
        if (matcher.find()) {
          if (Integer.decode(matcher.group(1)).intValue() >= getStartAddr()
                  && Integer.decode(matcher.group(1)).intValue() <= getStartAddr() + getSize()) {
            String varName = matcher.group(2);
            varNames.put(varName, new Symbol(
                    Symbol.Type.VARIABLE,
                    varName,
                    getMapFileVarAddress(getData(), varName) + offset,
                    getMapFileVarSize(getData(), varName)));
          }
View Full Code Here

Examples of org.datanucleus.query.symbol.Symbol

        // Check for variables that haven't been bound to the query (declared but not used)
        Collection<String> symbols = compilation.getSymbolTable().getSymbolNames();
        Iterator<String> symIter = symbols.iterator();
        while (symIter.hasNext())
        {
            Symbol sym = compilation.getSymbolTable().getSymbol(symIter.next());
            if (sym.getType() == Symbol.VARIABLE)
            {
                if (compilation.getCompilationForSubquery(sym.getQualifiedName()) == null &&
                    !hasSQLTableMappingForAlias(sym.getQualifiedName()))
                {
                    // Variable not a subquery, nor had its table allocated
                    throw new QueryCompilerSyntaxException("Query has variable \"" + sym.getQualifiedName() + "\" which is not bound to the query");
                }
            }
        }
    }
View Full Code Here

Examples of org.docx4j.fonts.fop.fonts.base14.Symbol

        fontInfo.addMetrics("F8", new TimesBoldItalic(base14Kerning));
        fontInfo.addMetrics("F9", new Courier(base14Kerning));
        fontInfo.addMetrics("F10", new CourierOblique(base14Kerning));
        fontInfo.addMetrics("F11", new CourierBold(base14Kerning));
        fontInfo.addMetrics("F12", new CourierBoldOblique(base14Kerning));
        fontInfo.addMetrics("F13", new Symbol());
        fontInfo.addMetrics("F14", new ZapfDingbats());

        // Custom type 1 fonts step 1/2
        // fontInfo.addMetrics("F15", new OMEP());
        // fontInfo.addMetrics("F16", new GaramondLightCondensed());
View Full Code Here

Examples of org.eclipse.assemblyformatter.ir.lowlevel.Symbol

        }
      } else {
        // TODO Review symbol format (__ is permitted)
        if (Character.isLetter(character) || (character == '_')) {
          // SYMBOL BRANCH
          section = new Symbol();
          section.setOffset(position);
          boolean flag = true;
          while (flag) {
            moveForward();
            if (moveSuccess) {
View Full Code Here

Examples of org.geotools.styling.Symbol

    public void visit(Graphic gr) {
        if (gr.getSymbols() != null) {
            Symbol[] symbols = gr.getSymbols();

            for (int i = 0; i < symbols.length; i++) {
                Symbol symbol = symbols[i];
                symbol.accept(this);
            }
        }

        handleOpacity(gr.getOpacity());
    }
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.