Class XmlUtil


  • @Deprecated(forRemoval=true)
    public final class XmlUtil
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    Replaced by OpenDayLight implementation XmlUtil.
    XmlUtil.
    • Field Detail

      • XMLNS_ATTRIBUTE_KEY

        public static final String XMLNS_ATTRIBUTE_KEY
        Deprecated, for removal: This API element is subject to removal in a future version.
        See Also:
        Constant Field Values
      • XMLNS_URI

        public static final String XMLNS_URI
        Deprecated, for removal: This API element is subject to removal in a future version.
        See Also:
        Constant Field Values
    • Method Detail

      • newDocument

        public static Document newDocument()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createElement

        public static Element createElement​(Document document,
                                            String qname,
                                            com.google.common.base.Optional<String> namespaceURI)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createTextElement

        public static Element createTextElement​(Document document,
                                                String qname,
                                                String content,
                                                com.google.common.base.Optional<String> namespaceURI)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createTextElementWithNamespacedContent

        public static Element createTextElementWithNamespacedContent​(Document document,
                                                                     String qname,
                                                                     String prefix,
                                                                     String namespace,
                                                                     String contentWithoutPrefix)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createTextElementWithNamespacedContent

        public static Element createTextElementWithNamespacedContent​(Document document,
                                                                     String qname,
                                                                     String prefix,
                                                                     String namespace,
                                                                     String contentWithoutPrefix,
                                                                     com.google.common.base.Optional<String> namespaceURI)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createPrefixedValue

        public static String createPrefixedValue​(String prefix,
                                                 String value)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • toString

        public static String toString​(Document document)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • toString

        public static String toString​(Element xml)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • toString

        public static String toString​(XmlElement xmlElement)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • toString

        public static String toString​(Element xml,
                                      boolean addXmlDeclaration)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • toString

        public static String toString​(Document doc,
                                      boolean addXmlDeclaration)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • loadSchema

        public static Schema loadSchema​(InputStream... fromStreams)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • evaluateXPath

        public static Object evaluateXPath​(XPathExpression expr,
                                           Object rootNode,
                                           QName returnType)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • createDocumentCopy

        public static Document createDocumentCopy​(Document original)
        Deprecated, for removal: This API element is subject to removal in a future version.