AI-generated Key Takeaways
- 
          TransformerHandlerlistens for SAX ContentHandler parse events and transforms them into aResultobject.
- 
          It provides methods to set and retrieve the base system ID for resolving relative URLs during the transformation. 
- 
          Users can access the associated Transformerobject to configure parameters and output properties.
- 
          A Resultobject, specifying the transformation output destination, can be set using thesetResultmethod.
A TransformerHandler listens for SAX ContentHandler parse events and transforms them to a Result.
Public Method Summary
| abstract String | 
                getSystemId()
                
                 Get the base ID (URI or system ID) from where relative
 URLs will be resolved. | 
| abstract Transformer | 
                getTransformer()
                
                 Get the  | 
| abstract void | |
| abstract void | 
                setSystemId(String systemID)
                
                 Set the base ID (URI or system ID) from where relative
 URLs will be resolved. | 
Inherited Method Summary
Public Methods
public abstract String getSystemId ()
Get the base ID (URI or system ID) from where relative URLs will be resolved.
Returns
- The systemID that was set with setSystemId(String).
public abstract Transformer getTransformer ()
Get the Transformer associated with this handler, which
 is needed in order to set parameters and output properties.
Returns
- Transformerassociated with this- TransformerHandler.
public abstract void setResult (Result result)
Set  the Result associated with this
 TransformerHandler to be used for the transformation.
Parameters
| result | A Resultinstance, should not benull. | 
|---|
Throws
| IllegalArgumentException | if result is invalid for some reason. | 
|---|
public abstract void setSystemId (String systemID)
Set the base ID (URI or system ID) from where relative URLs will be resolved.
Parameters
| systemID | Base URI for the source tree. | 
|---|
