public class BindingConfigImpl extends BindingConfig
QNAME_ACCESSOR_ATTRIBUTE, QNAME_ACCESSOR_ELEMENT, QNAME_DOCUMENT_TYPE, QNAME_TYPE
Modifier and Type | Method and Description |
---|---|
static BindingConfig |
forConfigDocuments(org.apache.xmlbeans.impl.xb.xmlconfig.ConfigDocument.Config[] configs,
File[] javaFiles,
File[] classpath) |
InterfaceExtension[] |
getInterfaceExtensions() |
InterfaceExtension[] |
getInterfaceExtensions(String fullJavaName) |
PrePostExtension |
getPrePostExtension(String fullJavaName) |
PrePostExtension[] |
getPrePostExtensions() |
String |
lookupJavanameForQName(QName qname)
Deprecated.
replaced with
lookupJavanameForQName(QName, int) |
String |
lookupJavanameForQName(QName qname,
int kind) |
String |
lookupPackageForNamespace(String uri) |
String |
lookupPrefixForNamespace(String uri) |
String |
lookupSuffixForNamespace(String uri) |
UserType |
lookupUserTypeForQName(QName qname) |
getUserTypes
public static BindingConfig forConfigDocuments(org.apache.xmlbeans.impl.xb.xmlconfig.ConfigDocument.Config[] configs, File[] javaFiles, File[] classpath)
public String lookupPackageForNamespace(String uri)
lookupPackageForNamespace
in class BindingConfig
uri
- the namespace uripublic String lookupPrefixForNamespace(String uri)
lookupPrefixForNamespace
in class BindingConfig
uri
- the namespace uripublic String lookupSuffixForNamespace(String uri)
lookupSuffixForNamespace
in class BindingConfig
uri
- the namespace uripublic String lookupJavanameForQName(QName qname)
lookupJavanameForQName(QName, int)
public String lookupJavanameForQName(QName qname, int kind)
lookupJavanameForQName
in class BindingConfig
qname
- the qname of the java namekind
- the type of the qname, which one of BindingConfig.QNAME_TYPE
, BindingConfig.QNAME_DOCUMENT_TYPE
,
BindingConfig.QNAME_ACCESSOR_ELEMENT
, BindingConfig.QNAME_ACCESSOR_ATTRIBUTE
public UserType lookupUserTypeForQName(QName qname)
lookupUserTypeForQName
in class BindingConfig
qname
- the qname of the user typepublic InterfaceExtension[] getInterfaceExtensions()
getInterfaceExtensions
in class BindingConfig
public InterfaceExtension[] getInterfaceExtensions(String fullJavaName)
getInterfaceExtensions
in class BindingConfig
fullJavaName
- the fully qualified java type namepublic PrePostExtension[] getPrePostExtensions()
getPrePostExtensions
in class BindingConfig
public PrePostExtension getPrePostExtension(String fullJavaName)
getPrePostExtension
in class BindingConfig
fullJavaName
- the fully qualified java type name