org.seasar.framework.util
クラス DomUtil

java.lang.Object
  拡張org.seasar.framework.util.DomUtil

public final class DomUtil
extends Object


メソッドの概要
static void appendAttr(Attr attr, StringBuffer buf)
           
static void appendAttrs(NamedNodeMap attrs, StringBuffer buf)
           
static void appendCDATASection(CDATASection cdataSection, StringBuffer buf)
           
static void appendChildren(NodeList children, StringBuffer buf)
           
static void appendElement(Element element, StringBuffer buf)
           
static void appendEntityReference(EntityReference entityReference, StringBuffer buf)
           
static void appendNode(Node node, StringBuffer buf)
           
static void appendText(Text text, StringBuffer buf)
           
static String encodeAttrQuot(String s)
           
static String encodeText(String s)
           
static InputStream getContentsAsStream(String contents)
           
static InputStream getContentsAsStream(String contents, String encoding)
           
static String toString(Document document)
           
static String toString(Element element)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getContentsAsStream

public static InputStream getContentsAsStream(String contents)

getContentsAsStream

public static InputStream getContentsAsStream(String contents,
                                              String encoding)

encodeAttrQuot

public static String encodeAttrQuot(String s)

encodeText

public static String encodeText(String s)

toString

public static String toString(Document document)

toString

public static String toString(Element element)

appendElement

public static void appendElement(Element element,
                                 StringBuffer buf)

appendChildren

public static void appendChildren(NodeList children,
                                  StringBuffer buf)

appendAttrs

public static void appendAttrs(NamedNodeMap attrs,
                               StringBuffer buf)

appendAttr

public static void appendAttr(Attr attr,
                              StringBuffer buf)

appendText

public static void appendText(Text text,
                              StringBuffer buf)

appendCDATASection

public static void appendCDATASection(CDATASection cdataSection,
                                      StringBuffer buf)

appendEntityReference

public static void appendEntityReference(EntityReference entityReference,
                                         StringBuffer buf)

appendNode

public static void appendNode(Node node,
                              StringBuffer buf)


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.