当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
TransformableSupport (XML Tools API) - NetBeans API Javadoc (Current Development Version)
org.netbeans.spi.xml.cookies
Class TransformableSupport
java.lang.Object
org.netbeans.spi.xml.cookies.TransformableSupport
- All Implemented Interfaces:
- TransformableCookie, Node.Cookie
public final class TransformableSupport
- extends Object
- implements TransformableCookie
Perform Transform action on XML document.
Default implementation of TransformableCookie
cookie.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransformableSupport
public TransformableSupport(Source source)
- Create new TransformableSupport for given data object.
- Parameters:
source
- Supported Source
.
transform
public void transform(Source transformSource,
Result outputResult,
CookieObserver notifier)
throws TransformerException
- Transform this object by XSL Transformation.
- Specified by:
transform
in interface TransformableCookie
- Parameters:
transformSource
- source of transformation.outputResult
- result of transformation.notifier
- optional listener (null
allowed)
giving judgement details.
- Throws:
TransformerException
- if an unrecoverable error occurs during the course of the transformation