Examples of emit()


Examples of com.sun.tools.corba.se.idl.SymtabEntry.emit()

    // Generate all of the contained types
    Enumeration e = entry.contained ().elements ();
    while (e.hasMoreElements ())
    {
      SymtabEntry element = (SymtabEntry)e.nextElement ();
      if (element.emit ())
        element.generate (symbolTable, stream);
    }
  } // generate
} // class ModuleGen
View Full Code Here

Examples of de.danet.an.util.sax.SAXContentBuffer.emit()

  buf.characters (ts1.toCharArray(), 0, ts1.toCharArray().length);
  buf.characters (ts2.toString().toCharArray(), 0,
      ts2.toString().toCharArray().length);

  final String[] res = new String[2];
  buf.emit (new DefaultHandler () {
    public void characters (char[] ch, int start, int length)
        throws SAXException {
        if (res[0] == null) {
      res[0] = new String (ch, start, length);
        } else {
View Full Code Here

Examples of de.danet.an.workflow.api.SAXEventBuffer.emit()

        ("", newRootTag, newRootTag, new AttributesImpl());
    // content
    Iterator it = contentParameters.iterator();
    while (it.hasNext()) {
        SAXEventBuffer c = (SAXEventBuffer)it.next();
        c.emit(new BodyFilter(th));
    }
    th.endElement("", newRootTag, newRootTag);
    th.endDocument();
      }
      seb.pack();
View Full Code Here

Examples of de.danet.an.workflow.util.SAXEventBufferImpl.emit()

      }
      // Handle path expression
      if (jdomRes == null) {
    try {
        SAXHandler hdlr = new SAXHandler ();
        seb.emit (hdlr);
        jdomRes = hdlr.getDocument();
    } catch (SAXException e) {
        String msg = "Problem converting SAX to JDOM: "
      + e.getMessage ();
        logger.error (msg, e);
View Full Code Here

Examples of juzu.impl.template.spi.juzu.compiler.EmitPhase.emit()

        public void createResource(Path.Absolute path, CharSequence content) throws IOException {
          throw new UnsupportedOperationException();
        }
      });
      emitPhase.emit(generator, templateModel.getModel());
    }
    catch (juzu.impl.template.spi.juzu.ast.ParseException e) {
      throw failure(e);
    }
    GroovyTemplateStub stub = generator.build(fqn.toString());
View Full Code Here

Examples of macromedia.asc.embedding.avmplus.ActionBlockEmitter.emit()

      }

      if (error_count == 0 && !show_parsetrees)
      {
        ByteList bytes = new ByteList();
        emitter.emit(bytes);            // Emit it
        if (bytes.size() != 0)
        {
                    if( optimize )
                    {
                        bytes = Optimizer.optimize(bytes);
View Full Code Here

Examples of net.java.textilej.parser.markup.PatternBasedElementProcessor.emit()

        delegate.setLineEndOffset(getLineEndOffset());
        delegate.setParser(getParser());
        delegate.setState(getState());
        delegate.setGroup(1,group(1),start(1),end(1));
        delegate.setGroup(2,group(2),start(2),end(2));
        delegate.emit();
      }
    }
  }
 
  public static class EndashElementProcessor extends PatternBasedElementProcessor {
View Full Code Here

Examples of org.apache.axis.wsdl.Emitter.emit()

            emitter.generateImports(!noImports);
            emitter.setOutputDir(output);
            emitter.generateMessageContext(messageContext);
            emitter.generateSkeleton(skeleton);
            emitter.verbose(verbose);
            emitter.emit(url);
        } catch (Throwable t) {
            throw new BuildException("Error while running " + getClass().getName(), t);
        }
    }
View Full Code Here

Examples of org.apache.axis.wsdl.WSDL2Java.emit()

            emitter.setNStoPkg(project.resolveFile("NStoPkg.properties"));
            emitter.setTimeout(timeout);

            log("WSDL2Java " + url, Project.MSG_INFO);
            try {
                emitter.emit(url);
            } catch (Throwable e) {
                if (url.startsWith("http://")) {
                    // What we have is either a network error or invalid XML -
                    // the latter most likely an HTML error page.  This makes
                    // it impossible to continue with the test, so issue
View Full Code Here

Examples of org.apache.axis.wsdl.fromJava.Emitter.emit()

            }
            if (wsdlServicePort != null && wsdlServicePort.length() > 0) {
                emitter.setServicePortName(wsdlServicePort);
            }

            Document  doc = emitter.emit(Emitter.MODE_ALL);

            msgContext.setProperty("WSDL", doc);
        } catch (NoClassDefFoundError e) {
            entLog.info( Messages.getMessage("toAxisFault00"), e );
            throw new AxisFault(e.toString(), 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.