org.thymeleaf.util
Class StandardDOMTranslator

Object
  extended by org.thymeleaf.util.StandardDOMTranslator

public class StandardDOMTranslator
extends Object

Utility class for converting XML DOM entities to Thymeleaf DOM entities.

Author:
Daniel Fernández

Method Summary
static CDATASection translateCDATASection(org.w3c.dom.CDATASection domNode, NestableNode parentNode, String documentName)
           
static Comment translateComment(org.w3c.dom.Comment domNode, NestableNode parentNode, String documentName)
           
static Document translateDocument(org.w3c.dom.Document domDocument, String documentName)
           
static DocType translateDocumentType(org.w3c.dom.DocumentType domDocumentType)
           
static Element translateElement(org.w3c.dom.Element domNode, NestableNode parentNode, String documentName)
           
static Node translateNode(org.w3c.dom.Node domNode, NestableNode parentNode, String documentName)
           
static Text translateText(org.w3c.dom.Text domNode, NestableNode parentNode, String documentName)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

translateNode

public static final Node translateNode(org.w3c.dom.Node domNode,
                                       NestableNode parentNode,
                                       String documentName)

translateDocument

public static final Document translateDocument(org.w3c.dom.Document domDocument,
                                               String documentName)

translateDocumentType

public static final DocType translateDocumentType(org.w3c.dom.DocumentType domDocumentType)

translateElement

public static final Element translateElement(org.w3c.dom.Element domNode,
                                             NestableNode parentNode,
                                             String documentName)

translateComment

public static final Comment translateComment(org.w3c.dom.Comment domNode,
                                             NestableNode parentNode,
                                             String documentName)

translateCDATASection

public static final CDATASection translateCDATASection(org.w3c.dom.CDATASection domNode,
                                                       NestableNode parentNode,
                                                       String documentName)

translateText

public static final Text translateText(org.w3c.dom.Text domNode,
                                       NestableNode parentNode,
                                       String documentName)


Copyright © 2012 The THYMELEAF team. All Rights Reserved.