public class XMLContext extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
XMLContext.Default |
Constructor and Description |
---|
XMLContext(ClassLoaderAccess classLoaderAccess) |
Modifier and Type | Method and Description |
---|---|
List<String> |
addDocument(org.dom4j.Document doc) |
void |
applyDiscoveredAttributeConverters(AttributeConverterDefinitionCollector collector) |
static String |
buildSafeClassName(String className,
String defaultPackageName) |
static String |
buildSafeClassName(String className,
XMLContext.Default defaults) |
List<org.dom4j.Element> |
getAllDocuments() |
XMLContext.Default |
getDefault(String className) |
List<String> |
getDefaultEntityListeners() |
org.dom4j.Element |
getXMLTree(String className) |
boolean |
hasContext() |
public XMLContext(ClassLoaderAccess classLoaderAccess)
public List<String> addDocument(org.dom4j.Document doc)
doc
- The xml document to addpublic static String buildSafeClassName(String className, String defaultPackageName)
public static String buildSafeClassName(String className, XMLContext.Default defaults)
public XMLContext.Default getDefault(String className)
public org.dom4j.Element getXMLTree(String className)
public List<org.dom4j.Element> getAllDocuments()
public boolean hasContext()
public void applyDiscoveredAttributeConverters(AttributeConverterDefinitionCollector collector)
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.