March 2005
Beginner to intermediate
1254 pages
104h 21m
English
TransformerConfigurationException
Signals
a
problem creating a Transformer object. This may
occur, for exmaple, if there is a syntax error in the XSL stylesheet
that contains the transformation instructions. Use the inherited
getLocator( ) method to obtain a
SourceLocator that describes the document location
at which the exception occurred.
Figure 20-5. javax.xml.transform.TransformerConfigurationException
public class TransformerConfigurationException extends TransformerException { // Public Constructors public TransformerConfigurationException( ); public TransformerConfigurationException(Throwable e); public TransformerConfigurationException(String msg); public TransformerConfigurationException(String message, SourceLocator locator); public TransformerConfigurationException(String msg, Throwable e); public TransformerConfigurationException(String message, SourceLocator locator, Throwable e); }
Templates.newTransformer( ),
TransformerFactory.{getAssociatedStylesheet( ),
newTemplates( ), newTransformer(
), setFeature( )},
javax.xml.transform.sax.SAXTransformerFactory.{newTemplatesHandler(
), newTransformerHandler( ),
newXMLFilter( )}
Read now
Unlock full access