net.sf.saxon.event
Class PipelineConfiguration

java.lang.Object
  extended by net.sf.saxon.event.PipelineConfiguration

public class PipelineConfiguration
extends Object

A PipelineConfiguration sets options that apply to all the operations in a pipeline. Unlike the global Configuration, these options are always local to a process.


Constructor Summary
PipelineConfiguration()
           
PipelineConfiguration(PipelineConfiguration p)
           
 
Method Summary
 Configuration getConfiguration()
           
 Controller getController()
          Get the controller associated with this pipelineConfiguration
 ErrorListener getErrorListener()
           
 int getHostLanguage()
           
 LocationProvider getLocationProvider()
           
 SchemaURIResolver getSchemaURIResolver()
          Get the user-defined SchemaURIResolver for resolving URIs used in "import schema" declarations; returns null if none has been explicitly set.
 URIResolver getURIResolver()
           
 boolean isSerializing()
           
 void setConfiguration(Configuration config)
           
 void setController(Controller controller)
           
 void setErrorListener(ErrorListener errorListener)
           
 void setHostLanguage(int language)
           
 void setLocationProvider(LocationProvider locationProvider)
           
 void setSchemaURIResolver(SchemaURIResolver resolver)
          Set a user-defined SchemaURIResolver for resolving URIs used in "import schema" declarations.
 void setSerializing(boolean isSerializing)
           
 void setURIResolver(URIResolver uriResolver)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelineConfiguration

public PipelineConfiguration()

PipelineConfiguration

public PipelineConfiguration(PipelineConfiguration p)
Method Detail

getConfiguration

public Configuration getConfiguration()

setConfiguration

public void setConfiguration(Configuration config)

getLocationProvider

public LocationProvider getLocationProvider()

setLocationProvider

public void setLocationProvider(LocationProvider locationProvider)

getErrorListener

public ErrorListener getErrorListener()

setErrorListener

public void setErrorListener(ErrorListener errorListener)

getURIResolver

public URIResolver getURIResolver()

setURIResolver

public void setURIResolver(URIResolver uriResolver)

setSchemaURIResolver

public void setSchemaURIResolver(SchemaURIResolver resolver)
Set a user-defined SchemaURIResolver for resolving URIs used in "import schema" declarations.


getSchemaURIResolver

public SchemaURIResolver getSchemaURIResolver()
Get the user-defined SchemaURIResolver for resolving URIs used in "import schema" declarations; returns null if none has been explicitly set.


setController

public void setController(Controller controller)

setHostLanguage

public void setHostLanguage(int language)

getHostLanguage

public int getHostLanguage()

setSerializing

public void setSerializing(boolean isSerializing)

isSerializing

public boolean isSerializing()

getController

public Controller getController()
Get the controller associated with this pipelineConfiguration

Returns:
the controller if it is known; otherwise null.


Copyright (C) Michael H. Kay. All rights reserved.