Top Description Fields Constructors Methods
org.hibernate.util.xml

public Class XmlDocumentImpl

extends Object
implements XmlDocument, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.util.xml.XmlDocument
Imports
java.io.Serializable, org.dom4j.Document

Basic implemementation of XmlDocument
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final Document
private final Origin

Constructor Summary

AccessConstructor and Description
public
XmlDocumentImpl(Document documentTree, String originType, String originName)

public
XmlDocumentImpl(Document documentTree, Origin origin)

Method Summary

Modifier and TypeMethod and Description
public Document
getDocumentTree()

Implements org.hibernate.util.xml.XmlDocument.getDocumentTree.

Retrieve the parsed DOM tree.
public Origin
getOrigin()

Implements org.hibernate.util.xml.XmlDocument.getOrigin.

Retrieve the document's origin.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

documentTreeback to summary
private final Document documentTree
originback to summary
private final Origin origin

Constructor Detail

XmlDocumentImplback to summary
public XmlDocumentImpl(Document documentTree, String originType, String originName)
XmlDocumentImplback to summary
public XmlDocumentImpl(Document documentTree, Origin origin)

Method Detail

getDocumentTreeback to summary
public Document getDocumentTree()

Implements org.hibernate.util.xml.XmlDocument.getDocumentTree.

Doc from org.hibernate.util.xml.XmlDocument.getDocumentTree.

Retrieve the parsed DOM tree.

Returns:Document

the DOM tree

getOriginback to summary
public Origin getOrigin()

Implements org.hibernate.util.xml.XmlDocument.getOrigin.

Doc from org.hibernate.util.xml.XmlDocument.getOrigin.

Retrieve the document's origin.

Returns:Origin

The origin