org.hibernate.cfg.annotations.reflection
Class XMLContext
java.lang.Object
org.hibernate.cfg.annotations.reflection.XMLContext
public class XMLContext
- extends Object
- Author:
- Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLContext
public XMLContext()
addDocument
public List<String> addDocument(org.dom4j.Document doc)
- Parameters:
doc
- The xml document to add
- Returns:
- Add a xml document to this context and return the list of added class names.
buildSafeClassName
public static String buildSafeClassName(String className,
String defaultPackageName)
buildSafeClassName
public static String buildSafeClassName(String className,
XMLContext.Default defaults)
getDefault
public XMLContext.Default getDefault(String className)
getXMLTree
public org.dom4j.Element getXMLTree(String className)
getAllDocuments
public List<org.dom4j.Element> getAllDocuments()
hasContext
public boolean hasContext()
getDefaultEntityListeners
public List<String> getDefaultEntityListeners()
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.