public class XMLContext extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
XMLContext.Default |
Constructor and Description |
---|
XMLContext(BootstrapContext bootstrapContext) |
XMLContext(ClassLoaderAccess classLoaderAccess)
Deprecated.
Use
XMLContext(BootstrapContext) instead. |
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() |
@Deprecated public XMLContext(ClassLoaderAccess classLoaderAccess)
XMLContext(BootstrapContext)
instead.public XMLContext(BootstrapContext bootstrapContext)
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 © 2019 JBoss by Red Hat. All rights reserved.