Examples of comment()


Examples of client.net.sf.saxon.ce.event.SequenceReceiver.comment()

                        }
                        out.processingInstruction(source.getDisplayName(), source.getStringValueCS());
                        break;

                    case Type.COMMENT:
                        out.comment(source.getStringValueCS());
                        break;

                    case Type.NAMESPACE:
                        try {
                            source.copy(out, 0);
View Full Code Here

Examples of client.net.sf.saxon.ce.event.SequenceReceiver.comment()

    public void processValue(CharSequence value, XPathContext context) throws XPathException {
        //String comment = expandChildren(context).toString();
        String comment = checkContent(value.toString(), context);
        SequenceReceiver out = context.getReceiver();
        out.comment(comment);
    }

    /**
     * Check the content of the node, and adjust it if necessary
     *
 
View Full Code Here

Examples of com.Publication.comment()

            break;
          }
        }
 
        // Ajout du commentaire à la liste des commentaires liés à cette publication
        pb.comment(commentaire);
       
        // Mise à jour de la liste des profils
        profils.put(nom, profil);
       
        // Enregistrement de la nouvelle liste
View Full Code Here

Examples of com.Publication.comment()

              break;
            }
          }
 
          // Ajout du commentaire à la liste des commentaires liés à cette publication
          pb.comment(commentaire);
         
          // Mise à jour de la liste des groupes
          groupes.put(nom, groupe);
         
          // Enregistrement de la nouvelle liste
View Full Code Here

Examples of com.asakusafw.vocabulary.batch.Batch.comment()

                    "Failed to extract \"@{0}\": {1}",
                    Batch.class.getName(),
                    description.getName()));
            return new BatchSpec(batchId);
        } else {
            String comment = normalizeComment(info.comment());
            boolean strict = info.strict();
            List<Parameter> parameters = toParameters(description, info.parameters());
            return new BatchSpec(info.name(), comment, strict, parameters);
        }
    }
View Full Code Here

Examples of com.facebook.presto.byteCode.Block.comment()

        Block getEstimatedSize = definition.declareMethod(new CompilerContext(null), a(PUBLIC), "getEstimatedSize", type(long.class))
                .getBody()
                .comment("long size = 0;")
                .push(0L);
        for (FieldDefinition field : fieldDefinitions) {
            getEstimatedSize
                    .comment("size += %s.sizeOf();", field.getName())
                    .pushThis()
                    .getField(field)
                    .invokeVirtual(field.getType(), "sizeOf", type(long.class))
                    .longAdd();
View Full Code Here

Examples of com.facebook.presto.byteCode.MethodDefinition.comment()

                    "filter",
                    type(boolean.class),
                    toTupleReaderParameters(inputTypes));
        }

        filterMethod.comment("Filter: %s", filter.toString());

        filterMethod.getCompilerContext().declareVariable(type(boolean.class), "wasNull");
        Block getSessionByteCode = new Block(filterMethod.getCompilerContext()).pushThis().getField(classDefinition.getType(), "session", type(Session.class));
        TypedByteCodeNode body = new ByteCodeExpressionVisitor(bootstrapFunctionBinder, inputTypes, getSessionByteCode, sourceIsCursor).process(filter, filterMethod.getCompilerContext());
View Full Code Here

Examples of com.facebook.presto.byteCode.control.IfStatement.IfStatementBuilder.comment()

        if (!acceptNulls) {
            //  Wrap with null checks
            for (Variable variable : parameterVariables) {
                IfStatementBuilder builder = ifStatementBuilder(context);
                builder.comment("if(!%s.isNull(position))", variable.getName())
                        .condition(new Block(context)
                                .getVariable(variable)
                                .getVariable(positionVariable)
                                .invokeInterface(com.facebook.presto.spi.block.Block.class, "isNull", boolean.class, int.class))
                        .ifTrue(NOP)
View Full Code Here

Examples of com.gitblit.models.TicketModel.Change.comment()

    compare(ticket, constructed);
    assertEquals(1, constructed.changes.size());

    // C2: set owner
    Change c2 = new Change("C2");
    c2.comment("I'll fix this");
    c2.setField(Field.responsible, c2.author);
    constructed = service.updateTicket(getRepository(), ticket.number, c2);
    assertNotNull(constructed);
    assertEquals(2, constructed.changes.size());
    assertEquals(c2.author, constructed.responsible);
View Full Code Here

Examples of com.ociweb.xml.PrologWAX.comment()

        stw.defaultNamespace("http://www.ociweb.com/music",
            "http://www.ociweb.com/xml/music.xsd");
        stw.namespace("date", "http://www.ociweb.com/date",
            "http://www.ociweb.com/xml/date.xsd");

        pw.comment("This is one of my favorite CDs!");
        stw = pw.start("cd");
        stw.attr("year", 2007);
        ElementWAX ew = stw.child("title", "Worrisome Heart");
        ew = stw.child("date", "purchaseDate", "4/3/2008");
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.