Examples of OutputNode


Examples of org.apache.airavata.xbaya.graph.system.OutputNode

    /**
     * @see org.apache.airavata.xbaya.component.Component#createNode(org.apache.airavata.xbaya.graph.Graph)
     */
    @Override
    public Node createNode(Graph graph) {
        OutputNode node = new OutputNode(graph);

        node.setName(NAME);
        node.setComponent(this);

        // Creates a unique ID for the node. This has to be after setName().
        node.createID();

        // Creates an input port
        createPorts(node);

        return node;
View Full Code Here

Examples of org.simpleframework.xml.stream.OutputNode

    writeList(ser, fos, listElement, list);
  }
 
  private <T> void writeList(Serializer ser, OutputStream os, String listElement, List<T> list) throws Exception {
    Format format = new Format("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    OutputNode doc = NodeBuilder.write(new OutputStreamWriter(os, "UTF-8"), format);
    OutputNode root = doc.getChild("root");
    root.setComment(BACKUP_COMMENT);
    OutputNode listNode = root.getChild(listElement);

    if (list != null) {
      for (T t : list) {
        try {
          ser.write(t, listNode);
View Full Code Here

Examples of org.simpleframework.xml.stream.OutputNode

    writeList(ser, fos, listElement, list);
  }
 
  private <T> void writeList(Serializer ser, OutputStream os, String listElement, List<T> list) throws Exception {
    Format format = new Format("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    OutputNode doc = NodeBuilder.write(new OutputStreamWriter(os, "UTF-8"), format);
    OutputNode root = doc.getChild("root");
    root.setComment(BACKUP_COMMENT);
    OutputNode listNode = root.getChild(listElement);

    if (list != null) {
      for (T t : list) {
        try {
          ser.write(t, listNode);
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.