RingJavafor Ring

javax.xml.transform

12 classes of the module java.xml.

Load them with:

using {
	"javax.xml.transform"
}

All packages

ErrorListener#

interface · javax.xml.transform.ErrorListener

Methods

MethodRing callJava overloads
errorerror(exception)void error(TransformerException exception)
fatalErrorfatalError(exception)void fatalError(TransformerException exception)
warningwarning(exception)void warning(TransformerException exception)

OutputKeys#

class · extends Object · javax.xml.transform.OutputKeys

Fields

NameTypeAccessIn Ring
METHODStringconstant · statico.METHOD
VERSIONStringconstant · statico.VERSION
ENCODINGStringconstant · statico.ENCODING
OMIT_XML_DECLARATIONStringconstant · statico.OMIT_XML_DECLARATION
STANDALONEStringconstant · statico.STANDALONE
DOCTYPE_PUBLICStringconstant · statico.DOCTYPE_PUBLIC
DOCTYPE_SYSTEMStringconstant · statico.DOCTYPE_SYSTEM
CDATA_SECTION_ELEMENTSStringconstant · statico.CDATA_SECTION_ELEMENTS
INDENTStringconstant · statico.INDENT
MEDIA_TYPEStringconstant · statico.MEDIA_TYPE

The methods and fields of Object are inherited.

Result#

interface · javax.xml.transform.Result

Fields

NameTypeAccessIn Ring
PI_DISABLE_OUTPUT_ESCAPINGStringconstant · statico.PI_DISABLE_OUTPUT_ESCAPING
PI_ENABLE_OUTPUT_ESCAPINGStringconstant · statico.PI_ENABLE_OUTPUT_ESCAPING

Methods

MethodRing callJava overloads
getSystemIdgetSystemId()String getSystemId()
setSystemIdsetSystemId(systemId)void setSystemId(String systemId)

Source#

interface · javax.xml.transform.Source

Methods

MethodRing callJava overloads
getSystemIdgetSystemId()String getSystemId()
isEmptyisEmpty()boolean isEmpty()
setSystemIdsetSystemId(systemId)void setSystemId(String systemId)

SourceLocator#

interface · javax.xml.transform.SourceLocator

Methods

MethodRing callJava overloads
getColumnNumbergetColumnNumber()int getColumnNumber()
getLineNumbergetLineNumber()int getLineNumber()
getPublicIdgetPublicId()String getPublicId()
getSystemIdgetSystemId()String getSystemId()

Templates#

interface · javax.xml.transform.Templates

Methods

MethodRing callJava overloads
getOutputPropertiesgetOutputProperties()Properties getOutputProperties()
newTransformernewTransformer()Transformer newTransformer()

Transformer#

abstract · extends Object · javax.xml.transform.Transformer

Methods

MethodRing callJava overloads
clearParametersclearParameters()void clearParameters()
getErrorListenergetErrorListener()ErrorListener getErrorListener()
getOutputPropertiesgetOutputProperties()Properties getOutputProperties()
getOutputPropertygetOutputProperty(name)String getOutputProperty(String name)
getParametergetParameter(name)Object getParameter(String name)
getURIResolvergetURIResolver()URIResolver getURIResolver()
resetreset()void reset()
setErrorListenersetErrorListener(listener)void setErrorListener(ErrorListener listener)
setOutputPropertiessetOutputProperties(oformat)void setOutputProperties(Properties oformat)
setOutputPropertysetOutputProperty(name,value)void setOutputProperty(String name, String value)
setParametersetParameter(name,value)void setParameter(String name, Object value)
setURIResolversetURIResolver(resolver)void setURIResolver(URIResolver resolver)
transformtransform(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

MethodRing callJava overloads
getExceptiongetException()Throwable getException()
getLocationAsStringgetLocationAsString()String getLocationAsString()
getLocatorgetLocator()SourceLocator getLocator()
getMessageAndLocationgetMessageAndLocation()String getMessageAndLocation()
setLocatorsetLocator(location)void setLocator(SourceLocator location)

The methods and fields of Exception are inherited.

TransformerFactory#

abstract · extends Object · javax.xml.transform.TransformerFactory

Methods

MethodRing callJava overloads
@newInstance@newInstance([factoryClassName,classLoader])
@newInstance([ :factoryClassName = v, :classLoader = v ])
static TransformerFactory newInstance(String factoryClassName, ClassLoader classLoader)
@newTransformer@newTransformer(source)Transformer newTransformer(Source source)
getAssociatedStylesheetgetAssociatedStylesheet(source,media,title,charset)Source getAssociatedStylesheet(Source source, String media, String title, String charset)
getAttributegetAttribute(name)Object getAttribute(String name)
getErrorListenergetErrorListener()ErrorListener getErrorListener()
getFeaturegetFeature(name)boolean getFeature(String name)
getURIResolvergetURIResolver()URIResolver getURIResolver()
newDefaultInstancenewDefaultInstance()static TransformerFactory newDefaultInstance()
newInstancenewInstance()static TransformerFactory newInstance()
newTemplatesnewTemplates(source)Templates newTemplates(Source source)
newTransformernewTransformer()Transformer newTransformer()
setAttributesetAttribute(name,value)void setAttribute(String name, Object value)
setErrorListenersetErrorListener(listener)void setErrorListener(ErrorListener listener)
setFeaturesetFeature(name,value)void setFeature(String name, boolean value)
setURIResolversetURIResolver(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

MethodRing callJava overloads
getExceptiongetException()Exception getException()

The methods and fields of Error are inherited.

URIResolver#

interface · javax.xml.transform.URIResolver

Methods

MethodRing callJava overloads
resolveresolve(href,base)Source resolve(String href, String base)
RingJava - use Java classes and methods from Ring programs.