Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


oracle.adf.model.connection.webservice.util
Class XmlUtil

java.lang.Object
  extended by oracle.adf.model.connection.webservice.util.XmlUtil


public class XmlUtil
extends java.lang.Object

Constructor Summary
XmlUtil()
           

 

Method Summary
static java.lang.String canonicalizeXml(Document document)
           
static java.lang.String canonicalizeXml(Element element)
           
static void canonicalizeXml(java.io.Writer writer, Element el)
           
static Element elementFromString(java.lang.String xmlText)
           
static Element firstChild(Node parent)
           
static Element firstChildWithName(Node parent, java.lang.String name)
           
static Element firstChildWithNameAndAttr(Node parent, java.lang.String name, java.lang.String attr, java.lang.String value)
           
static Element firstChildWithNameAndText(Node parent, java.lang.String name, java.lang.String text)
           
static java.lang.String getName(Node node)
           
static java.lang.String name(Node node)
           
static Element nextSibling(Node sibling)
           
static Element nextSiblingWithName(Node sibling, java.lang.String name)
           
static Element nextSiblingWithNameAndText(Node parent, java.lang.String name, java.lang.String text)
           
static Document parse(InputSource source)
           
static Document parse(java.lang.String str)
           
static Document parse(java.net.URL url)
           
static java.lang.String text(Node node)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

XmlUtil

public XmlUtil()

Method Detail

firstChild

public static Element firstChild(Node parent)

firstChildWithName

public static Element firstChildWithName(Node parent,
                                         java.lang.String name)

firstChildWithNameAndText

public static Element firstChildWithNameAndText(Node parent,
                                                java.lang.String name,
                                                java.lang.String text)

firstChildWithNameAndAttr

public static Element firstChildWithNameAndAttr(Node parent,
                                                java.lang.String name,
                                                java.lang.String attr,
                                                java.lang.String value)

nextSibling

public static Element nextSibling(Node sibling)

nextSiblingWithName

public static Element nextSiblingWithName(Node sibling,
                                          java.lang.String name)

nextSiblingWithNameAndText

public static Element nextSiblingWithNameAndText(Node parent,
                                                 java.lang.String name,
                                                 java.lang.String text)

name

public static java.lang.String name(Node node)

text

public static java.lang.String text(Node node)

parse

public static Document parse(java.net.URL url)
                      throws java.io.IOException,
                             SAXException
Throws:
java.io.IOException
SAXException

parse

public static Document parse(java.lang.String str)
                      throws java.io.IOException,
                             SAXException
Throws:
java.io.IOException
SAXException

parse

public static Document parse(InputSource source)
                      throws java.io.IOException,
                             SAXException
Throws:
java.io.IOException
SAXException

elementFromString

public static Element elementFromString(java.lang.String xmlText)
                                 throws java.io.IOException,
                                        SAXException
Throws:
java.io.IOException
SAXException

getName

public static java.lang.String getName(Node node)

canonicalizeXml

public static java.lang.String canonicalizeXml(Document document)
                                        throws java.io.IOException
Throws:
java.io.IOException

canonicalizeXml

public static java.lang.String canonicalizeXml(Element element)
                                        throws java.io.IOException
Throws:
java.io.IOException

canonicalizeXml

public static void canonicalizeXml(java.io.Writer writer,
                                   Element el)
                            throws java.io.IOException
Throws:
java.io.IOException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


Copyright © 1997, 2012, Oracle. All rights reserved.