org.hippoecm.hst.core.util
Class DOMUtils

java.lang.Object
  extended by org.hippoecm.hst.core.util.DOMUtils

public class DOMUtils
extends Object

DOMUtils

Version:
$Id: DOMUtils.java 21482 2010-02-03 19:16:09Z wko $

Field Summary
static int DEFAULT_ELEMENT_STRINGIFYING_BUFFER_SIZE
           
static int DEFAULT_INDENT
           
static String DEFAULT_INDENT_WITH
           
 
Method Summary
static String getIdAttribute(Element element)
           
static String stringifyElement(Element element)
           
static String stringifyElement(Element element, int initialBufferSize, int indent, String indentWith)
           
static String stringifyElementToHtml(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ELEMENT_STRINGIFYING_BUFFER_SIZE

public static final int DEFAULT_ELEMENT_STRINGIFYING_BUFFER_SIZE
See Also:
Constant Field Values

DEFAULT_INDENT

public static final int DEFAULT_INDENT
See Also:
Constant Field Values

DEFAULT_INDENT_WITH

public static final String DEFAULT_INDENT_WITH
See Also:
Constant Field Values
Method Detail

stringifyElement

public static String stringifyElement(Element element)

stringifyElement

public static String stringifyElement(Element element,
                                      int initialBufferSize,
                                      int indent,
                                      String indentWith)

stringifyElementToHtml

public static String stringifyElementToHtml(Element element)

getIdAttribute

public static String getIdAttribute(Element element)


Copyright © 2008-2012 Hippo. All Rights Reserved.