congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Import.getBPMNDefinitions
Code IndexAdd Tabnine to your IDE (free)

How to use
getBPMNDefinitions
method
in
com.ebmwebsourcing.easybpmn.bpmn20.api.element.Import

Best Java code snippets using com.ebmwebsourcing.easybpmn.bpmn20.api.element.Import.getBPMNDefinitions (Showing top 3 results out of 315)

origin: com.ebmwebsourcing.easybpmn/bpmn20-api

/**
 * Searches for a BPMN element in the given Definitions and its BPMN 2.0 imports
 * @param <T>
 * @param defs
 * @param ref Id or {import namespace}Id
 * @param wantedClass
 * @return
 * @throws BPMNException
 */
public static <T extends BaseElement> T findBPMNObject(Definitions defs, QName ref,
    Class<T> wantedClass) throws BPMNException {
  if(ref!=null) {
    if(ref.getNamespaceURI()==null || ref.getNamespaceURI().isEmpty()) {
      return findObjectInDefinitions(defs, ref.getLocalPart(), wantedClass);
    }
    Import impt = defs.getImport(ref.getNamespaceURI());
    if(impt!=null && impt.isBPMN20Import()) {
      Definitions importedDefs = impt.getBPMNDefinitions();
      return findObjectInDefinitions(importedDefs, ref.getLocalPart(), wantedClass);
    }
  }
  throw new BPMNException("No bpmn element has been found for this QName : "+ref);
}
origin: com.ebmwebsourcing.easybpmn/bpmn20-impl

Element e = i.getBPMNDefinitions().findImportedElement(eltQName);
if(e!=null){
  return e;
origin: com.ebmwebsourcing.petalsbpm/petalsbpm-service

importBean = ImportAdapter.adaptBPMNImport(prefix, impt.getLocation(), impt.getBPMNDefinitions());
com.ebmwebsourcing.easybpmn.bpmn20.api.elementImportgetBPMNDefinitions

Popular methods of Import

  • isBPMN20Import
  • getNamespace
  • getSchema
  • getWSDL11Definitions
  • isWSDL11Import
  • isXSDImport
  • getImportContent
  • getImportType
  • getLocation
  • hasNamespace
  • setImportType
  • setLocation
  • setImportType,
  • setLocation,
  • setNamespace

Popular in Java

  • Reading from database using SQL prepared statement
  • runOnUiThread (Activity)
  • startActivity (Activity)
  • setContentView (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now