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