Skip navigation.

Administration Console Online Help

PreviousNextvertical dots separating previous/next from contents/index/pdfContents

XML Registry: Configuration

Configuration Options     Related Tasks     Related Topics

Use this page to configure an XML registry, in particular to specify the implementation classes that WebLogic Server uses, by default, for the factories used to obtain DOM and SAX parsers and transformers. These classes are used by all applications that run on WebLogic Server.

The values you enter in the fields of this page are used by default by all applications that run on WebLogic Server. If you want to specify a parser factory used for a particular document type (based on system ID, public ID, or root element), go to the Contents tab and create a Parser Select Entry.

Also use this page to specify when WebLogic Server should cache external entities that are referenced with a URL.

Configuration Options

Name Description
Name

The name of this XML Registry.

MBean Attribute:
XMLRegistryMBean.Name

Changes take effect after you redeploy the module or restart the server.

Document Builder Factory

The fully qualified name of the class that implements the DocumentBuilderFactory interface.

The javax.xml.parsers.DocumentBuilderFactory factory API enables applications deployed to WebLogic Server to obtain an XML parser that produces DOM object trees from XML documents.

The built-in WebLogic Server DOM factory implementation class is com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl. This is the factory class applications deployed to WebLogic Server get by default when they request a DOM parser. You can change this default by updating this value.

Return the class name of the default DocumentBuilderFactory

MBean Attribute:
XMLRegistryMBean.DocumentBuilderFactory

SAX Parser Factory

The fully qualified name of the class that implements the SAXParserFactory interface.

The javax.xml.parsers.SAXParserFactory factory API enables applications deployed to WebLogic Server to configure and obtain a SAX-based XML parser to parse XML documents.

The built-in WebLogic Server SAX factory implementation class is com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl. This is the factory class applications deployed to WebLogic Server get by default when they request a SAX parser. You can change this default by updating this value.

Return the class name of the default SAXParserFactory

MBean Attribute:
XMLRegistryMBean.SAXParserFactory

Transformer Factory

The fully qualified name of the class that implements the TransformerFactory interface.

The javax.xml.transform.TransformerFactory factory API enables applications deployed to WebLogic Server to configure and obtain a Transformer object used to transform XML data into another format.

The built-in WebLogic Server Transformer factory implementation class is com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryIml. This is the factory class applications deployed to WebLogic Server get by default when they request a Transformer object. You can change this default by updating this value.

Return the class name of the default TransformerFactory

MBean Attribute:
XMLRegistryMBean.TransformerFactory

When To Cache

Specifies when WebLogic Server should cache external entities that it retrieves from the Web.

When WebLogic Server resolves an external entity within an XML file and retrieves the entity from the Web, you can specify that WebLogic Server cache this entity only when the entity is first referenced, when WebLogic Server first starts up, or not at all.

MBean Attribute:
XMLRegistryMBean.WhenToCache

Related Tasks

Related Topics

 

Skip navigation bar   Back to Top