|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XMLParserSelectRegistryEntryMBean
A Parser Select Entry specifies the SAX/DOM parser factory implementation classes for a particular document type.
By default, WebLogic server uses either the built-in (out-of-the-box) or default SAX/DOM parser factory implementation classes when it parses an XML document. However, you can specify that particular XML documents, based on their public IDs, system IDs, or root elements, use different parser factory implementation classes than the default. You do this by first creating an XML Registry and then creating a Parser Select entry and specifying how to identify the document and then the desired implementation classes.
The XML document type is identified by one or more of the following:
This configuration information is used by the WebLogic JAXP implementation to choose the appropriate parser factories (SAX and DOM).
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract String |
getDocumentBuilderFactory() Specifies the fully qualified name of the class that implements the DocumentBuilderFactory API |
abstract String |
getParserClassName() Deprecated. |
abstract String |
getPublicId() Specifies the public ID of the XML document type for which this XML registry entry is being configured. |
abstract String |
getRootElementTag() Specifies the root element of the XML document type for which this XML registry entry is being configured. |
abstract String |
getSAXParserFactory() Specifies the fully qualified name of the class that implements the SAXParserFactory API. |
abstract String |
getSystemId() Specifies the system ID of the XML document type for which this XML registry entry is being configured. |
abstract String |
getTransformerFactory() Specifies the fully qualified name of the class that implements the TransformerFactory API. |
abstract void |
setDocumentBuilderFactory(String factoryClassName) Sets the value of the documentBuilderFactory attribute. |
abstract void |
setParserClassName(String publicId) Deprecated. |
abstract void |
setPublicId(String publicId) Sets the value of the publicId attribute. |
abstract void |
setRootElementTag(String tagName) Sets the value of the rootElementTag attribute. |
abstract void |
setSAXParserFactory(String factoryClassName) Sets the value of the sAXParserFactory attribute. |
abstract void |
setSystemId(String systemId) Sets the value of the systemId attribute. |
abstract void |
setTransformerFactory(String factoryClassName) Sets the value of the transformerFactory attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
String getPublicId()
Specifies the public ID of the XML document type for which this XML registry entry is being configured.
When WebLogic Server starts to parse an XML document that is identified with this public ID, it uses the SAX or DOM parser factory implementation class specified by this registry entry, rather than the built-in or default, when obtaining a SAX or DOM parser.
void setPublicId(String publicId) throws InvalidAttributeValueException
Sets the value of the publicId attribute.
publicId
- The new publicId valueInvalidAttributeValueException
XMLParserSelectRegistryEntryMBean.getPublicId()
String getSystemId()
Specifies the system ID of the XML document type for which this XML registry entry is being configured.
When WebLogic Server starts to parse an XML document that is identified with this system ID, it uses the SAX or DOM parser factory implementation class specified by this registry entry, rather than the built-in or default, when obtaining a SAX or DOM parser.
void setSystemId(String systemId) throws InvalidAttributeValueException
Sets the value of the systemId attribute.
systemId
- The new systemId valueInvalidAttributeValueException
XMLParserSelectRegistryEntryMBean.getSystemId()
String getRootElementTag()
Specifies the root element of the XML document type for which this XML registry entry is being configured.
When WebLogic Server starts to parse an XML document that is identified with this root element, it uses the SAX or DOM parser factory implementation class specified by this registry entry, rather than the built-in or default, when obtaining a SAX or DOM parser.
void setRootElementTag(String tagName) throws InvalidAttributeValueException
Sets the value of the rootElementTag attribute.
tagName
- The new rootElementTag valueInvalidAttributeValueException
XMLParserSelectRegistryEntryMBean.getRootElementTag()
String getDocumentBuilderFactory()
Specifies the fully qualified name of the class that implements the DocumentBuilderFactory
API
When WebLogic Server begins to parse an XML document identified by either the public ID, system ID, or root element specified in this entry, and the applications specifies it wants a DOM parser, then WebLogic Server uses this implementation class when using the javax.xml.parsers.DocumentBuilderFactory to obtain the DOM parser.
void setDocumentBuilderFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the documentBuilderFactory attribute.
factoryClassName
- The new documentBuilderFactory valueInvalidAttributeValueException
XMLParserSelectRegistryEntryMBean.getDocumentBuilderFactory()
String getSAXParserFactory()
Specifies the fully qualified name of the class that implements the SAXParserFactory
API.
When WebLogic Server begins to parse an XML document identified by either the public ID, system ID, or root element specified in this entry, and the applications specifies it wants a SAX parser, then WebLogic Server uses this implementation class when using the javax.xml.parsers.SAXParserFactory to obtain the SAX parser.
void setSAXParserFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the sAXParserFactory attribute.
factoryClassName
- The new sAXParserFactory valueInvalidAttributeValueException
XMLParserSelectRegistryEntryMBean.getSAXParserFactory()
String getTransformerFactory()
Specifies the fully qualified name of the class that implements the TransformerFactory
API.
When WebLogic Server begins to transform an XML document identified by either the public ID, system ID, or root element specified in this entry, then WebLogic Server uses this implementation class when using the javax.xml.transform.TranformerFactory factory to obtain a Transformer object.
void setTransformerFactory(String factoryClassName) throws InvalidAttributeValueException
Sets the value of the transformerFactory attribute.
factoryClassName
- The new transformerFactory valueInvalidAttributeValueException
XMLParserSelectRegistryEntryMBean.getTransformerFactory()
String getParserClassName()
Provides the class name of any custom XML parser that is associated with this parser select entry.
Return class name of any custom XML parser that is associated with the registry entry.
void setParserClassName(String publicId) throws InvalidAttributeValueException
Sets the value of the parserClassName attribute.
publicId
- The new parserClassName valueInvalidAttributeValueException
XMLParserSelectRegistryEntryMBean.getParserClassName()
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |