com.sun.enterprise.registration.impl.environment
Class XMLUtil

java.lang.Object
  extended by com.sun.enterprise.registration.impl.environment.XMLUtil

public class XMLUtil
extends java.lang.Object


Constructor Summary
XMLUtil()
           
 
Method Summary
static java.lang.String getOptionalTextValue(org.w3c.dom.Element e, java.lang.String tagName)
           
static java.util.List<java.lang.String> getOptionalTextValues(org.w3c.dom.Element e, java.lang.String tagName)
           
static java.lang.String getRequiredTextValue(org.w3c.dom.Element e, java.lang.String tagName)
           
static void writeDocument(org.w3c.dom.Document doc, java.io.OutputStream out)
           
static void writeElement(org.w3c.dom.Element e, java.io.OutputStream out)
           
 
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

getRequiredTextValue

public static java.lang.String getRequiredTextValue(org.w3c.dom.Element e,
                                                    java.lang.String tagName)

getOptionalTextValues

public static java.util.List<java.lang.String> getOptionalTextValues(org.w3c.dom.Element e,
                                                                     java.lang.String tagName)

getOptionalTextValue

public static java.lang.String getOptionalTextValue(org.w3c.dom.Element e,
                                                    java.lang.String tagName)

writeDocument

public static void writeDocument(org.w3c.dom.Document doc,
                                 java.io.OutputStream out)
                          throws java.io.IOException
Throws:
java.io.IOException

writeElement

public static void writeElement(org.w3c.dom.Element e,
                                java.io.OutputStream out)
                         throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.