Ejemplo n.º 1
0
 public FileReferenceFactory getFileReferenceFactory() {
   FileReferenceFactory referenceFactory = new FileReferenceFactory();
   for (Map.Entry<String, File> entry : pathVariables.entrySet()) {
     referenceFactory.addPathVariable(entry.getKey(), entry.getValue());
   }
   return referenceFactory;
 }
Ejemplo n.º 2
0
 public Variable(Node node, FileReferenceFactory fileReferenceFactory) {
   super(node, fileReferenceFactory);
   setSourcePath(fileReferenceFactory.fromVariablePath((String) node.attribute("sourcepath")));
 }