javax.xml.transform
12 classes of the module java.xml.
Load them with:
using {
"javax.xml.transform"
}
ErrorListener#
interface · javax.xml.transform.ErrorListener
Methods
| Method | Ring call | Java overloads |
|---|---|---|
error | error(exception) | void error(TransformerException exception) |
fatalError | fatalError(exception) | void fatalError(TransformerException exception) |
warning | warning(exception) | void warning(TransformerException exception) |
OutputKeys#
class · extends Object · javax.xml.transform.OutputKeys
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
METHOD | String | constant · static | o.METHOD |
VERSION | String | constant · static | o.VERSION |
ENCODING | String | constant · static | o.ENCODING |
OMIT_XML_DECLARATION | String | constant · static | o.OMIT_XML_DECLARATION |
STANDALONE | String | constant · static | o.STANDALONE |
DOCTYPE_PUBLIC | String | constant · static | o.DOCTYPE_PUBLIC |
DOCTYPE_SYSTEM | String | constant · static | o.DOCTYPE_SYSTEM |
CDATA_SECTION_ELEMENTS | String | constant · static | o.CDATA_SECTION_ELEMENTS |
INDENT | String | constant · static | o.INDENT |
MEDIA_TYPE | String | constant · static | o.MEDIA_TYPE |
The methods and fields of Object are inherited.
Result#
interface · javax.xml.transform.Result
Fields
| Name | Type | Access | In Ring |
|---|---|---|---|
PI_DISABLE_OUTPUT_ESCAPING | String | constant · static | o.PI_DISABLE_OUTPUT_ESCAPING |
PI_ENABLE_OUTPUT_ESCAPING | String | constant · static | o.PI_ENABLE_OUTPUT_ESCAPING |
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getSystemId | getSystemId() | String getSystemId() |
setSystemId | setSystemId(systemId) | void setSystemId(String systemId) |
Source#
interface · javax.xml.transform.Source
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getSystemId | getSystemId() | String getSystemId() |
isEmpty | isEmpty() | boolean isEmpty() |
setSystemId | setSystemId(systemId) | void setSystemId(String systemId) |
SourceLocator#
interface · javax.xml.transform.SourceLocator
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getColumnNumber | getColumnNumber() | int getColumnNumber() |
getLineNumber | getLineNumber() | int getLineNumber() |
getPublicId | getPublicId() | String getPublicId() |
getSystemId | getSystemId() | String getSystemId() |
Templates#
interface · javax.xml.transform.Templates
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getOutputProperties | getOutputProperties() | Properties getOutputProperties() |
newTransformer | newTransformer() | Transformer newTransformer() |
Transformer#
abstract · extends Object · javax.xml.transform.Transformer
Methods
| Method | Ring call | Java overloads |
|---|---|---|
clearParameters | clearParameters() | void clearParameters() |
getErrorListener | getErrorListener() | ErrorListener getErrorListener() |
getOutputProperties | getOutputProperties() | Properties getOutputProperties() |
getOutputProperty | getOutputProperty(name) | String getOutputProperty(String name) |
getParameter | getParameter(name) | Object getParameter(String name) |
getURIResolver | getURIResolver() | URIResolver getURIResolver() |
reset | reset() | void reset() |
setErrorListener | setErrorListener(listener) | void setErrorListener(ErrorListener listener) |
setOutputProperties | setOutputProperties(oformat) | void setOutputProperties(Properties oformat) |
setOutputProperty | setOutputProperty(name,value) | void setOutputProperty(String name, String value) |
setParameter | setParameter(name,value) | void setParameter(String name, Object value) |
setURIResolver | setURIResolver(resolver) | void setURIResolver(URIResolver resolver) |
transform | transform(xmlSource,outputTarget) | void transform(Source xmlSource, Result outputTarget) |
The methods and fields of Object are inherited.
TransformerConfigurationException#
class · extends TransformerException · javax.xml.transform.TransformerConfigurationException
Constructors
new TransformerConfigurationException() |
new TransformerConfigurationException(Throwable e) |
new TransformerConfigurationException(String msg) |
new TransformerConfigurationException(String message, SourceLocator locator) |
new TransformerConfigurationException(String msg, Throwable e) |
new TransformerConfigurationException(String message, SourceLocator locator, Throwable e) |
Ring: new TransformerConfigurationException(args) uses the constructor with the fewest parameters (at least one); new TransformerConfigurationException makes the object with the constructor without parameters; the others: (new TransformerConfigurationException).@New([ :param = value ]) or .@New([v1,v2]).
The methods and fields of TransformerException are inherited.
TransformerException#
class · extends Exception · javax.xml.transform.TransformerException
Constructors
new TransformerException(String message) |
new TransformerException(Throwable e) |
new TransformerException(String message, Throwable e) |
new TransformerException(String message, SourceLocator locator) |
new TransformerException(String message, SourceLocator locator, Throwable e) |
Ring: new TransformerException(args) uses the constructor with the fewest parameters (at least one); new TransformerException makes the object with the constructor without parameters; the others: (new TransformerException).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getException | getException() | Throwable getException() |
getLocationAsString | getLocationAsString() | String getLocationAsString() |
getLocator | getLocator() | SourceLocator getLocator() |
getMessageAndLocation | getMessageAndLocation() | String getMessageAndLocation() |
setLocator | setLocator(location) | void setLocator(SourceLocator location) |
The methods and fields of Exception are inherited.
TransformerFactory#
abstract · extends Object · javax.xml.transform.TransformerFactory
Methods
| Method | Ring call | Java overloads |
|---|---|---|
@newInstance | @newInstance([factoryClassName,classLoader])@newInstance([ :factoryClassName = v, :classLoader = v ]) | static TransformerFactory newInstance(String factoryClassName, ClassLoader classLoader) |
@newTransformer | @newTransformer(source) | Transformer newTransformer(Source source) |
getAssociatedStylesheet | getAssociatedStylesheet(source,media,title,charset) | Source getAssociatedStylesheet(Source source, String media, String title, String charset) |
getAttribute | getAttribute(name) | Object getAttribute(String name) |
getErrorListener | getErrorListener() | ErrorListener getErrorListener() |
getFeature | getFeature(name) | boolean getFeature(String name) |
getURIResolver | getURIResolver() | URIResolver getURIResolver() |
newDefaultInstance | newDefaultInstance() | static TransformerFactory newDefaultInstance() |
newInstance | newInstance() | static TransformerFactory newInstance() |
newTemplates | newTemplates(source) | Templates newTemplates(Source source) |
newTransformer | newTransformer() | Transformer newTransformer() |
setAttribute | setAttribute(name,value) | void setAttribute(String name, Object value) |
setErrorListener | setErrorListener(listener) | void setErrorListener(ErrorListener listener) |
setFeature | setFeature(name,value) | void setFeature(String name, boolean value) |
setURIResolver | setURIResolver(resolver) | void setURIResolver(URIResolver resolver) |
The methods and fields of Object are inherited.
TransformerFactoryConfigurationError#
class · extends Error · javax.xml.transform.TransformerFactoryConfigurationError
Constructors
new TransformerFactoryConfigurationError() |
new TransformerFactoryConfigurationError(Exception e) |
new TransformerFactoryConfigurationError(String msg) |
new TransformerFactoryConfigurationError(Exception e, String msg) |
Ring: new TransformerFactoryConfigurationError(args) uses the constructor with the fewest parameters (at least one); new TransformerFactoryConfigurationError makes the object with the constructor without parameters; the others: (new TransformerFactoryConfigurationError).@New([ :param = value ]) or .@New([v1,v2]).
Methods
| Method | Ring call | Java overloads |
|---|---|---|
getException | getException() | Exception getException() |
The methods and fields of Error are inherited.
URIResolver#
interface · javax.xml.transform.URIResolver
Methods
| Method | Ring call | Java overloads |
|---|---|---|
resolve | resolve(href,base) | Source resolve(String href, String base) |