Esempio n. 1
0
 public BpmnParse sourceString(String string) {
   if (name == null) {
     name("string");
   }
   setStreamSource(new StringStreamSource(string));
   return this;
 }
Esempio n. 2
0
 public BpmnParse sourceUrl(URL url) {
   if (name == null) {
     name(url.toString());
   }
   setStreamSource(new UrlStreamSource(url));
   return this;
 }
Esempio n. 3
0
 public BpmnParse sourceResource(String resource, ClassLoader classLoader) {
   if (name == null) {
     name(resource);
   }
   setStreamSource(new ResourceStreamSource(resource, classLoader));
   return this;
 }
Esempio n. 4
0
 public BpmnParse sourceInputStream(InputStream inputStream) {
   if (name == null) {
     name("inputStream");
   }
   setStreamSource(new InputStreamSource(inputStream));
   return this;
 }