org.hibernate.internal.util.xml
Class XmlDocumentImpl
java.lang.Object
org.hibernate.internal.util.xml.XmlDocumentImpl
- All Implemented Interfaces:
- Serializable, XmlDocument
public class XmlDocumentImpl
- extends Object
- implements XmlDocument, Serializable
Basic implemementation of XmlDocument
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlDocumentImpl
public XmlDocumentImpl(org.dom4j.Document documentTree,
String originType,
String originName)
XmlDocumentImpl
public XmlDocumentImpl(org.dom4j.Document documentTree,
Origin origin)
getDocumentTree
public org.dom4j.Document getDocumentTree()
- Retrieve the parsed DOM tree.
- Specified by:
getDocumentTree
in interface XmlDocument
- Returns:
- the DOM tree
getOrigin
public Origin getOrigin()
- Retrieve the document's origin.
- Specified by:
getOrigin
in interface XmlDocument
- Returns:
- The origin
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.