|
||||||||||
| 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 DataSourceIfpublic void close()
DataSourceIf
close in interface DataSourceIf
public void destroy()
throws java.lang.Throwable
destroy in interface DataSourceIfjava.lang.Throwablepublic java.lang.String getName()
DataSourceIf
getName in interface DataSourceIfpublic java.lang.String getTransformId()
DataSourceIf
getTransformId in interface DataSourceIfpublic Definitions.TransformMode getTransformMode()
DataSourceIf
getTransformMode in interface DataSourceIfpublic java.io.Reader getReader()
getReader in class javax.xml.transform.stream.StreamSourcepublic boolean isAutoReturning()
DataSourceIf
isAutoReturning in interface DataSourceIfpublic boolean isOpen()
DataSourceIf
isOpen in interface DataSourceIfpublic void open()
DataSourceIf
open in interface DataSourceIfpublic void reset()
DataSourceIf
reset in interface DataSourceIfpublic void setAutoReturning(boolean isAutoReturning)
DataSourceIf
setAutoReturning in interface DataSourceIfpublic void setTransformId(java.lang.String id)
DataSourceIf
setTransformId in interface DataSourceIfid - A String specifying the transformation identifierpublic void setTransformMode(Definitions.TransformMode transformMode)
DataSourceIf
setTransformMode in interface DataSourceIftransformMode - The transformation modepublic void setParameters(java.util.List<Parameter> params)
DataSourceIf
setParameters in interface DataSourceIfparams - A list containing the parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||