Examples of Sink


Examples of org.codehaus.doxia.sink.Sink

    {
        Map<String, ClassDescription> descriptions = runJavadoc();

        getLog().info("Executing ComponentReport ...");

        Sink sink = getSink();

        sink.section1();
        sink.sectionTitle1();
        sink.text("Component Index");
        sink.sectionTitle1_();
        sink.list();

        for (String className : InternalUtils.sortedKeys(descriptions))
        {
            String simpleName = InternalUtils.lastTerm(className);

            sink.listItem();

            // Something is convertin the name attribute of the anchors to lower case, so
            // we'll follow suit.

            sink.link("#" + className.toLowerCase());
            sink.text(simpleName);
            sink.link_();

            sink.listItem_();
        }

        sink.list_();

        for (String className : InternalUtils.sortedKeys(descriptions))
        {
            writeClassDescription(descriptions, sink, className);
        }
View Full Code Here

Examples of org.drools.core.reteoo.Sink

            List<String[]> cmds = step.getCommands();
            List<InternalFactHandle> handles = (List<InternalFactHandle>) context.get( "Handles" );
            for ( String[] cmd : cmds ) {
                try {
                    String nodeName = cmd[0];
                    Sink sink = (Sink) context.get( nodeName );
                    if ( sink == null ) {
                        throw new IllegalArgumentException( "line " + step.getLine() + ": node " + nodeName + " does not exist" );
                    }

                    Map<String, Object> vars = new HashMap<String, Object>();
View Full Code Here

Examples of org.drools.reteoo.Sink

            List<String[]> cmds = step.getCommands();
            List<InternalFactHandle> handles = (List<InternalFactHandle>) context.get( "Handles" );
            for ( String[] cmd : cmds ) {
                try {
                    String nodeName = cmd[0];
                    Sink sink = (Sink) context.get( nodeName );
                    if ( sink == null ) {
                        throw new IllegalArgumentException( "line " + step.getLine() + ": node " + nodeName + " does not exist" );
                    }

                    Map<String, Object> vars = new HashMap<String, Object>();
View Full Code Here

Examples of org.drools.reteoo.Sink

            List<String[]> cmds = step.getCommands();
            List<InternalFactHandle> handles = (List<InternalFactHandle>) context.get( "Handles" );
            for ( String[] cmd : cmds ) {
                try {
                    String nodeName = cmd[0];
                    Sink sink = (Sink) context.get( nodeName );
                    if ( sink == null ) {
                        throw new IllegalArgumentException( "line " + step.getLine() + ": node " + nodeName + " does not exist" );
                    }

                    String args = cmd[1];
View Full Code Here

Examples of org.drools.reteoo.Sink

            List<String[]> cmds = step.getCommands();
            List<InternalFactHandle> handles = (List<InternalFactHandle>) context.get( "Handles" );
            for ( String[] cmd : cmds ) {
                try {
                    String nodeName = cmd[0];
                    Sink sink = (Sink) context.get( nodeName );
                    if ( sink == null ) {
                        throw new IllegalArgumentException( "line " + step.getLine() + ": node " + nodeName + " does not exist" );
                    }

                    String args = cmd[1];
View Full Code Here

Examples of org.drools.reteoo.Sink

            List<String[]> cmds = step.getCommands();
            List<InternalFactHandle> handles = (List<InternalFactHandle>) context.get( "Handles" );
            for ( String[] cmd : cmds ) {
                try {
                    String nodeName = cmd[0];
                    Sink sink = (Sink) context.get( nodeName );
                    if ( sink == null ) {
                        throw new IllegalArgumentException( "line " + step.getLine() + ": node " + nodeName + " does not exist" );
                    }

                    Map<String, Object> vars = new HashMap<String, Object>();
View Full Code Here

Examples of org.drools.reteoo.Sink

            List<String[]> cmds = step.getCommands();
            List<InternalFactHandle> handles = (List<InternalFactHandle>) context.get( "Handles" );
            for ( String[] cmd : cmds ) {
                try {
                    String nodeName = cmd[0];
                    Sink sink = (Sink) context.get( nodeName );
                    if ( sink == null ) {
                        throw new IllegalArgumentException( "line " + step.getLine() + ": node " + nodeName + " does not exist" );
                    }

                    String args = cmd[1];
View Full Code Here

Examples of org.drools.reteoo.Sink

            List<String[]> cmds = step.getCommands();
            List<InternalFactHandle> handles = (List<InternalFactHandle>) context.get( "Handles" );
            for ( String[] cmd : cmds ) {
                try {
                    String nodeName = cmd[0];
                    Sink sink = (Sink) context.get( nodeName );
                    if ( sink == null ) {
                        throw new IllegalArgumentException( "line " + step.getLine() + ": node " + nodeName + " does not exist" );
                    }

                    String args = cmd[1];
View Full Code Here

Examples of org.graphstream.stream.Sink

    ThreadProxyPipe pipe = net.getDefaultStream();

    pipe.addSink(g1);

    g1.addSink(new Sink() {

      public void graphAttributeAdded(String sourceId, long timeId,
          String attribute, Object value) {
        assertEquals(0, value);
        assertEquals("graphAttribute", attribute);
View Full Code Here

Examples of org.openhab.binding.pulseaudio.internal.items.Sink

            // no action here
            break;
          case SLAVE_SINKS:
            if (audioItem instanceof Sink && ((Sink)audioItem).isCombinedSink()) {
              // change the slave sinks of the given combined sink to the new value
              Sink mainSink = (Sink)audioItem;
              ArrayList<Sink> slaveSinks = new ArrayList<Sink>();
              for (String slaveSinkName : StringUtils.split(command.toString(),",")) {
                Sink slaveSink = client.getSink(slaveSinkName);
                if (slaveSink!=null) {
                  slaveSinks.add(slaveSink);
                }
              }
              logger.debug(slaveSinks.size()+" slave sinks");
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.