org.seasar.framework.util
クラス DomUtil
java.lang.Object
org.seasar.framework.util.DomUtil
- public final class DomUtil
- extends Object
クラス 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.