1 package net.sf.saxon.event; 2 3 import net.sf.saxon.Configuration; 4 import net.sf.saxon.Controller; 5 6 import javax.xml.transform.ErrorListener ; 7 import javax.xml.transform.URIResolver ; 8 9 13 14 public class PipelineConfiguration { 15 16 private Configuration config; 17 private LocationProvider locationProvider; 18 private ErrorListener errorListener; 19 private URIResolver uriResolver; 20 private Controller controller; 21 private boolean isSerializing; 22 23 public PipelineConfiguration() { 24 } 25 26 public PipelineConfiguration(PipelineConfiguration p) { 27 config = p.config; 28 locationProvider = p.locationProvider; 29 errorListener = p.errorListener; 30 uriResolver = p.uriResolver; 31 controller = p.controller; 32 isSerializing = p.isSerializing; 33 } 34 35 public Configuration getConfiguration() { 36 return config; 37 } 38 39 public void setConfiguration(Configuration config) { 40 this.config = config; 41 } 42 43 public LocationProvider getLocationProvider() { 44 return locationProvider; 45 } 46 47 public void setLocationProvider(LocationProvider locationProvider) { 48 this.locationProvider = locationProvider; 49 } 50 51 public ErrorListener getErrorListener() { 52 return errorListener; 53 } 54 55 public void setErrorListener(ErrorListener errorListener) { 56 this.errorListener = errorListener; 57 } 58 59 public URIResolver getURIResolver() { 60 return uriResolver; 61 } 62 63 public void setURIResolver(URIResolver uriResolver) { 64 this.uriResolver = uriResolver; 65 } 66 67 public void setController(Controller controller) { 68 this.controller = controller; 69 } 70 71 public void setSerializing(boolean isSerializing) { 72 this.isSerializing = isSerializing; 73 } 74 75 public boolean isSerializing() { 76 return isSerializing; 77 } 78 79 84 85 public Controller getController() { 86 return controller; 87 } 88 89 } 90 91 109 | Popular Tags |