org.hibernate.util.xml
Class XmlDocumentImpl
java.lang.Object
   org.hibernate.util.xml.XmlDocumentImpl
org.hibernate.util.xml.XmlDocumentImpl
- All Implemented Interfaces: 
- Serializable, XmlDocument
- public class XmlDocumentImpl 
- extends Object- implements XmlDocument, Serializable
Basic implemementation of XmlDocument
- Author:
- Steve Ebersole
- 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:
- getDocumentTreein interface- XmlDocument
 
- 
- Returns:
- the DOM tree
 
getOrigin
public Origin getOrigin()
- Retrieve the document's origin.
 
- 
- Specified by:
- getOriginin interface- XmlDocument
 
- 
- Returns:
- The origin
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.