public class XmlServiceUtilities extends Object
Constructor and Description |
---|
XmlServiceUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
enableDomXmlService(ServiceLocator locator)
This will enable all of the same xml parsers as
enableXmlService(ServiceLocator) but will
set the rank of the stream-based xml parser to be
higher than that of the JAXB based one |
static void |
enableXmlService(ServiceLocator locator)
Enables Hk2 XmlServices in the given locator.
|
public static void enableXmlService(ServiceLocator locator)
locator
- The non-null locator to which to add
the XmlService
public static void enableDomXmlService(ServiceLocator locator)
enableXmlService(ServiceLocator)
but will
set the rank of the stream-based xml parser to be
higher than that of the JAXB based onelocator
- The non-null locator to which to add
the XmlService
Copyright © 2009–2023 Oracle Corporation. All rights reserved.