|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.transform.stream.StreamSource
com.armatiek.infofuze.source.AbstractStreamSource
public abstract class AbstractStreamSource
An abstract base class for all stream based Source classes.
Field Summary |
---|
Fields inherited from class javax.xml.transform.stream.StreamSource |
---|
FEATURE |
Constructor Summary | |
---|---|
AbstractStreamSource(org.w3c.dom.Element configElem)
|
|
AbstractStreamSource(java.lang.String name)
|
Method Summary | |
---|---|
void |
afterStreamClosed()
Method that can be implemented to perform special operations after the source is closed. |
void |
close()
Closes this source. |
void |
destroy()
|
java.lang.String |
getName()
Returns the name of this source. |
java.io.Reader |
getReader()
|
java.lang.String |
getTransformId()
Returns the transformation identifier of the transformation this source is currently part of. |
Definitions.TransformMode |
getTransformMode()
Returns the transformation mode of the transformation this source is currently part of. |
boolean |
isAutoReturning()
Tests whether this source must be returned to the pool automatically when it is closed. |
boolean |
isOpen()
Tests whether this source is open or not. |
void |
open()
Opens this source. |
void |
reset()
Resets this source (i.e. resets the transformation mode and identifier). |
void |
setAutoReturning(boolean isAutoReturning)
Specifies if this source must be returned to the pool automatically when it is closed. |
void |
setParameters(java.util.List<Parameter> params)
Sets the parameters. |
void |
setTransformId(java.lang.String id)
Sets the transformation identifier. |
void |
setTransformMode(Definitions.TransformMode transformMode)
Sets the transformation mode. |
Methods inherited from class javax.xml.transform.stream.StreamSource |
---|
getInputStream, getPublicId, getSystemId, setInputStream, setPublicId, setReader, setSystemId, setSystemId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractStreamSource(org.w3c.dom.Element configElem)
public AbstractStreamSource(java.lang.String name)
Method Detail |
---|
public void afterStreamClosed()
DataSourceIf
afterStreamClosed
in interface DataSourceIf
public void close()
DataSourceIf
close
in interface DataSourceIf
public void destroy() throws java.lang.Throwable
destroy
in interface DataSourceIf
java.lang.Throwable
public java.lang.String getName()
DataSourceIf
getName
in interface DataSourceIf
public java.lang.String getTransformId()
DataSourceIf
getTransformId
in interface DataSourceIf
public Definitions.TransformMode getTransformMode()
DataSourceIf
getTransformMode
in interface DataSourceIf
public java.io.Reader getReader()
getReader
in class javax.xml.transform.stream.StreamSource
public boolean isAutoReturning()
DataSourceIf
isAutoReturning
in interface DataSourceIf
public boolean isOpen()
DataSourceIf
isOpen
in interface DataSourceIf
public void open()
DataSourceIf
open
in interface DataSourceIf
public void reset()
DataSourceIf
reset
in interface DataSourceIf
public void setAutoReturning(boolean isAutoReturning)
DataSourceIf
setAutoReturning
in interface DataSourceIf
public void setTransformId(java.lang.String id)
DataSourceIf
setTransformId
in interface DataSourceIf
id
- A String specifying the transformation identifierpublic void setTransformMode(Definitions.TransformMode transformMode)
DataSourceIf
setTransformMode
in interface DataSourceIf
transformMode
- The transformation modepublic void setParameters(java.util.List<Parameter> params)
DataSourceIf
setParameters
in interface DataSourceIf
params
- A list containing the parameters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |