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