public interface XMLRegistryMBean extends ConfigurationMBean
Configure the behavior of JAXP (Java API for XML Parsing) in the server.
You configure this behavior by creating XML Registries that specify the default DOM and Sax factory implementation class, transformer factory implementation class, external entity resolution and caching.
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method and Description | 
|---|---|
| XMLEntitySpecRegistryEntryMBean | createXMLEntitySpecRegistryEntry(String name) | 
| XMLParserSelectRegistryEntryMBean | createXMLParserSelectRegistryEntry(String name)creates an XMLParserSelectRegistryEntryMBean object | 
| void | destroyXMLEntitySpecRegistryEntry(XMLEntitySpecRegistryEntryMBean entry) | 
| void | destroyXMLParserSelectRegistryEntry(XMLParserSelectRegistryEntryMBean entry) | 
| String | getDocumentBuilderFactory()The fully qualified name of the class that implements the
  DocumentBuilderFactoryinterface. | 
| XMLEntitySpecRegistryEntryMBean[] | getEntitySpecRegistryEntries()Deprecated. 
 9.0.0.0 | 
| XMLParserSelectRegistryEntryMBean[] | getParserSelectRegistryEntries()Deprecated. 
 9.0.0.0 | 
| XMLRegistryEntryMBean[] | getRegistryEntries()Deprecated. 
 7.0.0.0 replaced by  XMLRegistryMBean | 
| String | getSAXParserFactory()The fully qualified name of the class that implements the
  SAXParserFactoryinterface. | 
| String | getSchemaFactory()The fully qualified name of the class that implements the
  SchemaFactoryinterface. | 
| String | getTransformerFactory()The fully qualified name of the class that implements the
  TransformerFactoryinterface. | 
| String | getWhenToCache()Specifies when WebLogic Server should cache external entities that it
 retrieves from the Web. | 
| XMLEntitySpecRegistryEntryMBean[] | getXMLEntitySpecRegistryEntries()Provides a list of EntitySpec registry entries. | 
| String | getXMLEventFactory()The fully qualified name of the class that implements the
  XMLEventFactoryinterface. | 
| String | getXMLInputFactory()The fully qualified name of the class that implements the
  XMLInputFactoryinterface. | 
| String | getXMLOutputFactory()The fully qualified name of the class that implements the
  XMLOutputFactoryinterface. | 
| XMLParserSelectRegistryEntryMBean[] | getXMLParserSelectRegistryEntries()Provides a list of the set of ParserSelect registry entries. | 
| String | getXpathFactory()The fully qualified name of the class that implements the
  XPathFactoryinterface. | 
| boolean | isHandleEntityInvalidation()Whether cached DTD/schema is invalidated when parsing error is encountered. | 
| void | setDocumentBuilderFactory(String factoryClassName)Sets the value of the documentBuilderFactory attribute. | 
| void | setEntitySpecRegistryEntries(XMLEntitySpecRegistryEntryMBean[] entries)Sets the value of the entitySpecRegistryEntries attribute. | 
| void | setHandleEntityInvalidation(boolean enabled)Sets if cached DTD/schema is invalidated when parsing error is encountered. | 
| void | setParserSelectRegistryEntries(XMLParserSelectRegistryEntryMBean[] entries)Set the set of ParserSelect registry entries. | 
| void | setRegistryEntries(XMLRegistryEntryMBean[] entries)Deprecated. 
 7.0.0.0 replaced by  XMLRegistryMBean | 
| void | setSAXParserFactory(String factoryClassName)Sets the value of the SAXParserFactory attribute. | 
| void | setSchemaFactory(String factoryClassName)Sets the value of the schemaFactory attribute. | 
| void | setTransformerFactory(String factoryClassName)Sets the value of the transformerFactory attribute. | 
| void | setWhenToCache(String cacheOnDeploy)Sets the value of the whenToCache attribute. | 
| void | setXMLEventFactory(String factoryClassName)Sets the value of the xmlEventFactory attribute. | 
| void | setXMLInputFactory(String factoryClassName)Sets the value of the xmlInputFactory attribute. | 
| void | setXMLOutputFactory(String factoryClassName)Sets the value of the xmlOutputFactory attribute. | 
| void | setXpathFactory(String factoryClassName)Sets the value of the xPathFactory attribute. | 
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentgetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenerString getDocumentBuilderFactory()
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
void setDocumentBuilderFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the documentBuilderFactory attribute.
factoryClassName - The new documentBuilderFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getDocumentBuilderFactory()String getSAXParserFactory()
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
void setSAXParserFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the SAXParserFactory attribute.
factoryClassName - The new sAXParserFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getSAXParserFactory()String getTransformerFactory()
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
void setTransformerFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the transformerFactory attribute.
factoryClassName - The new transformerFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getTransformerFactory()String getXpathFactory()
The fully qualified name of the class that implements the
 XPathFactory interface.
The javax.xml.xpath.XPathFactory factory API
 enables applications deployed to WebLogic Server to configure and obtain
 a XPath object used to search XML elements.
The built-in WebLogic Server XPath factory implementation class is
 com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl.
 This is the factory class applications deployed to WebLogic Server get
 by default when they request a XPath object.  You can change this
 default by updating this value.
Return the class name of the default XPathFactory
void setXpathFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the xPathFactory attribute.
factoryClassName - The new xPathFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getXpathFactory()String getSchemaFactory()
The fully qualified name of the class that implements the
 SchemaFactory interface.
The javax.xml.validation.SchemaFactory factory API
 enables applications deployed to WebLogic Server to configure and obtain
 a Schema object used to validate XML document using schema.
The built-in WebLogic Server Schema factory implementation class is
 com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.
 This is the factory class applications deployed to WebLogic Server get
 by default when they request a Schema object.  You can change this
 default by updating this value.
Return the class name of the default SchemaFactory
void setSchemaFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the schemaFactory attribute.
factoryClassName - The new schemaFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getSchemaFactory()String getXMLInputFactory()
The fully qualified name of the class that implements the
 XMLInputFactory interface.
The javax.xml.stream.XMLInputFactory factory API
 enables applications deployed to WebLogic Server to configure and obtain
 a XMLEventReader/XMLStreamReader object used to read XML streams.
The built-in WebLogic Server XML Input factory implementation class is
 com.ctc.wstx.stax.WstxInputFactory.
 This is the factory class applications deployed to WebLogic Server get
 by default when they request a XMLEventReader/XMLStreamReader object.
 You can change this default by updating this value.
Return the class name of the default XMLInputFactory
void setXMLInputFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the xmlInputFactory attribute.
factoryClassName - The new xmlInputFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getXMLInputFactory()String getXMLOutputFactory()
The fully qualified name of the class that implements the
 XMLOutputFactory interface.
The javax.xml.stream.XMLOutputFactory factory API
 enables applications deployed to WebLogic Server to configure and obtain
 a XMLEventWriter/XMLStreamWriter object used to write XML streams.
The built-in WebLogic Server XML Output factory implementation class is
 com.ctc.wstx.stax.WstxOutputFactory.
 This is the factory class applications deployed to WebLogic Server get
 by default when they request a XMLEventWriter/XMLStreamWriter object.
 You can change this default by updating this value.
Return the class name of the default XMLOutputFactory
void setXMLOutputFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the xmlOutputFactory attribute.
factoryClassName - The new xmlOutputFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getXMLOutputFactory()String getXMLEventFactory()
The fully qualified name of the class that implements the
 XMLEventFactory interface.
The javax.xml.stream.XMLEventFactory factory API
 enables applications deployed to WebLogic Server to configure and obtain
 a XMLEvent object used to parse or build XML streams.
The built-in WebLogic Server XMLEvent factory implementation class is
 com.ctc.wstx.stax.WstxEventFactory.
 This is the factory class applications deployed to WebLogic Server get
 by default when they request a XMLEvent object.  You can change this
 default by updating this value.
Return the class name of the default XMLEventFactory
void setXMLEventFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the xmlEventFactory attribute.
factoryClassName - The new xmlEventFactory valueInvalidAttributeValueExceptionXMLRegistryMBean.getXMLEventFactory()XMLRegistryEntryMBean[] getRegistryEntries()
XMLRegistryMBeanProvides a list of the set of pre-Silversword style registry entries.
void setRegistryEntries(XMLRegistryEntryMBean[] entries) throws InvalidAttributeValueException
XMLRegistryMBeanSets the value of the registryEntries attribute.
entries - The new registryEntries valueInvalidAttributeValueExceptionXMLRegistryMBean.getRegistryEntries()XMLParserSelectRegistryEntryMBean createXMLParserSelectRegistryEntry(String name)
creates an XMLParserSelectRegistryEntryMBean object
name - void destroyXMLParserSelectRegistryEntry(XMLParserSelectRegistryEntryMBean entry)
entry - XMLParserSelectRegistryEntry objectXMLParserSelectRegistryEntryMBean[] getXMLParserSelectRegistryEntries()
Provides a list of the set of ParserSelect registry entries.
XMLParserSelectRegistryEntryMBean[] getParserSelectRegistryEntries()
Provides a list of the set of ParserSelect registry entries.
void setParserSelectRegistryEntries(XMLParserSelectRegistryEntryMBean[] entries) throws InvalidAttributeValueException
Set the set of ParserSelect registry entries.
entries - The new parserSelectRegistryEntries valueInvalidAttributeValueExceptionXMLEntitySpecRegistryEntryMBean[] getEntitySpecRegistryEntries()
Provides a list of EntitySpec registry entries.
XMLEntitySpecRegistryEntryMBean[] getXMLEntitySpecRegistryEntries()
Provides a list of EntitySpec registry entries.
XMLEntitySpecRegistryEntryMBean createXMLEntitySpecRegistryEntry(String name)
name - void destroyXMLEntitySpecRegistryEntry(XMLEntitySpecRegistryEntryMBean entry)
entry - XMLEntitySpecRegistryEntry objectvoid setEntitySpecRegistryEntries(XMLEntitySpecRegistryEntryMBean[] entries) throws InvalidAttributeValueException
Sets the value of the entitySpecRegistryEntries attribute.
entries - The new entitySpecRegistryEntries valueInvalidAttributeValueExceptionXMLRegistryMBean.getEntitySpecRegistryEntries()String getWhenToCache()
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.
void setWhenToCache(String cacheOnDeploy)
Sets the value of the whenToCache attribute.
cacheOnDeploy - The new whenToCache valueXMLRegistryMBean.getWhenToCache()boolean isHandleEntityInvalidation()
Whether cached DTD/schema is invalidated when parsing error is encountered.
void setHandleEntityInvalidation(boolean enabled)
Sets if cached DTD/schema is invalidated when parsing error is encountered.
enabled - true if invalidation enabled, otherwise false.