Package org.hibernate.util.xml
Class XmlDocumentImpl
java.lang.Object
org.hibernate.util.xml.XmlDocumentImpl
- All Implemented Interfaces:
Serializable,XmlDocument
Basic implemementation of
XmlDocument- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXmlDocumentImpl(org.dom4j.Document documentTree, String originType, String originName) XmlDocumentImpl(org.dom4j.Document documentTree, Origin origin) -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the parsed DOM tree.Retrieve the document's origin.
-
Constructor Details
-
XmlDocumentImpl
-
XmlDocumentImpl
-
-
Method Details
-
getDocumentTree
Retrieve the parsed DOM tree.- Specified by:
getDocumentTreein interfaceXmlDocument- Returns:
- the DOM tree
-
getOrigin
Retrieve the document's origin.- Specified by:
getOriginin interfaceXmlDocument- Returns:
- The origin
-