|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.javabean.binding.AbstractBinding
public class AbstractBinding
Abstract Binding class.
| Constructor Summary | |
|---|---|
protected |
AbstractBinding()
Constructor. |
protected |
AbstractBinding(org.milyn.Smooks smooks)
Constructor. |
| Method Summary | ||
|---|---|---|
AbstractBinding |
add(InputStream smooksConfigStream)
Add Smooks binding configurations to the binding instance. |
|
AbstractBinding |
add(String smooksConfigURI)
Add Smooks binding configurations to the binding instance. |
|
protected void |
assertInitialized()
|
|
protected void |
assertNotAllConfigsAdded()
|
|
protected void |
assertNotInitialized()
|
|
protected
|
bind(Source inputSource,
Class<T> toType)
Bind the input source to the specified type. |
|
protected GetterGraph |
constructContextualGetter(Bean bean)
|
|
protected GetterGraph |
constructContextualGetter(DataBinding binding)
|
|
org.milyn.Smooks |
getSmooks()
Get the underlying Smooks instance. |
|
protected org.milyn.cdr.SmooksResourceConfigurationList |
getUserDefinedResourceList()
|
|
AbstractBinding |
intiailize()
Initialize the binding instance. |
|
AbstractBinding |
setReportPath(String reportPath)
Set the execution report output path. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractBinding()
protected AbstractBinding(org.milyn.Smooks smooks)
smooks - Smooks instance.| Method Detail |
|---|
public AbstractBinding add(String smooksConfigURI)
throws IOException,
SAXException
smooksConfigURI - Smooks configuration.
IOException - Error reading resource stream.
SAXException - Error parsing the resource stream.
public AbstractBinding add(InputStream smooksConfigStream)
throws IOException,
SAXException
smooksConfigStream - Smooks configuration.
IOException - Error reading resource stream.
SAXException - Error parsing the resource stream.public AbstractBinding intiailize()
public org.milyn.Smooks getSmooks()
Smooks instance.
Smooks instance.public AbstractBinding setReportPath(String reportPath)
reportPath - The execution report output path.
protected <T> T bind(Source inputSource,
Class<T> toType)
throws IOException
XMLBinding.fromXML(javax.xml.transform.Source, Class)
and XMLBinding.toXML(Object, java.io.Writer).
inputSource - The input source.toType - The target type.
IOException - Error binding source to target type.protected org.milyn.cdr.SmooksResourceConfigurationList getUserDefinedResourceList()
protected GetterGraph constructContextualGetter(DataBinding binding)
protected GetterGraph constructContextualGetter(Bean bean)
protected void assertInitialized()
protected void assertNotAllConfigsAdded()
protected void assertNotInitialized()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||