Examples of Node


Examples of org.jboss.el.parser.Node

      this.varMapper = new VariableMapperFactory(ctxVar);
    }
  }

  public final static Node createNode(String expr) throws ELException {
    Node n = createNodeInternal(expr);
    return n;
  }

Examples of org.jboss.forge.parser.xml.Node

               "src/main/resources/META-INF/forge.xml");
      if (forgeXml.exists())
      {
         try
         {
            Node node = XMLParser.parse(forgeXml.getResourceInputStream());
            return node.getSingle("dependencies-as-resource-root") != null;
         }
         catch (ParserException e)
         {
            return false;
         }

Examples of org.jboss.seam.remoting.annotationparser.syntaxtree.Node

     
      AnnotationParser parser = new AnnotationParser(new StringReader(declaration));
     
      try
      {
         Node root = parser.AnnotationsUnit();
         root.accept(this);
      }
      catch (ParseException e)
      {
         throw new IllegalArgumentException(
               "Error while parsing annotation declaration: " + declaration, e);

Examples of org.jboss.shrinkwrap.api.Node

        }
    }

    private Manifest getBundleManifest(Archive<?> archive) {
        try {
            Node node = archive.get(JarFile.MANIFEST_NAME);
            if (node == null)
                return null;

            Manifest manifest = new Manifest(node.getAsset().openStream());
            return manifest;
        } catch (Exception ex) {
            return null;
        }
    }

Examples of org.jboss.shrinkwrap.descriptor.api.Node

   // Constructor ------------------------------------------------------------------------||
   //-------------------------------------------------------------------------------------||

   public ArquillianDescriptorImpl(String descirptorName)
   {
      this(descirptorName, new Node("arquillian"));
   }

Examples of org.jboss.shrinkwrap.descriptor.spi.Node

   // Constructor ------------------------------------------------------------------------||
   //-------------------------------------------------------------------------------------||

   public ArquillianDescriptorImpl(String descirptorName)
   {
      this(descirptorName, new Node("arquillian"));
   }

Examples of org.jboss.shrinkwrap.descriptor.spi.node.Node

        return archive;
    }

    private static void addEnvEntry(WebAppDescriptor descriptor, String name, String type, String value) {
        Node appNode = ((NodeDescriptor) descriptor).getRootNode();
        appNode.createChild("/env-entry")
                .createChild("env-entry-name").text(name).getParent()
                .createChild("env-entry-type").text(type).getParent()
                .createChild("env-entry-value").text(value);

    }

Examples of org.jboss.tools.jmx.core.tree.Node

    // lets try force a properties UI update
    Nodes.refreshSelection(this);
  }

  protected void refreshParentUI() {
    Node p = getParent();
    if (p instanceof RefreshableNode) {
      RefreshableNode pr = (RefreshableNode) p;
      pr.refreshUI();
    } else {
      refreshUI();

Examples of org.jbpm.api.Node

    protected void triggerCompleted(String type, boolean remove) {
        if (remove) {

            processInstance.getNodeContainer().removeNodeInstance(this);
        }
        Node node = getNode();
        List<SequenceFlow> flows = null;
        if (node != null) {
            flows = node.getOutgoingFlows(type);
        }
        if (flows == null || flows.isEmpty()) {
            processInstance.getNodeContainer().nodeInstanceCompleted(this, type);
        } else {
            for (SequenceFlow flow : flows) {

Examples of org.jbpm.graph.def.Node

   */
  public void end(String transitionName) {
    Transition leavingTransition = null;

    if (task != null) {
      Node node = task.getTaskNode();
      if (node == null) {
        node = (Node) task.getParent();
      }

      if (node != null) {
        leavingTransition = node.getLeavingTransition(transitionName);
      }
    }
    if (leavingTransition == null) {
      throw new JbpmException("task node does not have leaving transition '" + transitionName + "'");
    }
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.