public class

XmlDocumentImpl

extends Object
implements Serializable XmlDocument
java.lang.Object
   ↳ org.hibernate.util.xml.XmlDocumentImpl

Class Overview

Basic implemementation of XmlDocument

Summary

Public Constructors
XmlDocumentImpl(Document documentTree, String originType, String originName)
XmlDocumentImpl(Document documentTree, Origin origin)
Public Methods
Document getDocumentTree()
Retrieve the parsed DOM tree.
Origin getOrigin()
Retrieve the document's origin.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.hibernate.util.xml.XmlDocument

Public Constructors

public XmlDocumentImpl (Document documentTree, String originType, String originName)

public XmlDocumentImpl (Document documentTree, Origin origin)

Public Methods

public Document getDocumentTree ()

Retrieve the parsed DOM tree.

Returns
  • the DOM tree

public Origin getOrigin ()

Retrieve the document's origin.

Returns
  • The origin