org.thymeleaf.util
Class DOMUtils
Object
org.thymeleaf.util.DOMUtils
public final class DOMUtils
- extends Object
- Since:
- 1.1.2
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
extractFragmentByAttributeValue
public static NestableNode extractFragmentByAttributeValue(Node root,
String elementName,
String attributeName,
String attributeValue)
escapeXml
public static char[] escapeXml(char[] ch,
boolean escapeQuotes)
throws java.io.IOException
- Throws:
java.io.IOException
writeXmlEscaped
public static void writeXmlEscaped(String buffer,
java.io.Writer writer,
boolean escapeQuotes)
throws java.io.IOException
- Throws:
java.io.IOException
writeXmlEscaped
public static void writeXmlEscaped(char[] buffer,
java.io.Writer writer,
boolean escapeQuotes)
throws java.io.IOException
- Throws:
java.io.IOException
unescapeXml
public static String unescapeXml(String str,
boolean unescapeQuotes)
getXmlFor
public static String getXmlFor(Node node)
getXhtmlHtml5For
public static String getXhtmlHtml5For(Node node)
Copyright © 2012 The THYMELEAF team. All Rights Reserved.