|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.BindingConfig
public class BindingConfig
The BindingConfig class is used during compilation to control the generation of java source files. The default BindingConfig does nothing, but sub-classes should provide more interesting behavior.
XmlBeans.compileXmlBeans()
Field Summary | |
---|---|
static int |
QNAME_ACCESSOR_ATTRIBUTE
|
static int |
QNAME_ACCESSOR_ELEMENT
|
static int |
QNAME_DOCUMENT_TYPE
|
static int |
QNAME_TYPE
|
Constructor Summary | |
---|---|
BindingConfig()
|
Method Summary | |
---|---|
InterfaceExtension[] |
getInterfaceExtensions()
Returns all configured InterfaceExtensions or an empty array. |
InterfaceExtension[] |
getInterfaceExtensions(java.lang.String fullJavaName)
Returns all InterfaceExtensions defined for the fully qualified java type generated from schema compilation or an empty array. |
PrePostExtension |
getPrePostExtension(java.lang.String fullJavaName)
Returns the PrePostExtension defined for the fully qualified java type generated from schema compilation or null. |
PrePostExtension[] |
getPrePostExtensions()
Returns all configued PrePostExtensions or an empty array. |
UserType[] |
getUserTypes()
Returns all defined user types. |
java.lang.String |
lookupJavanameForQName(javax.xml.namespace.QName qname)
Deprecated. replaced with lookupJavanameForQName(QName, int) |
java.lang.String |
lookupJavanameForQName(javax.xml.namespace.QName qname,
int kind)
Get the java name for a QName of a specific component kind, or null. |
java.lang.String |
lookupPackageForNamespace(java.lang.String uri)
Get the package name for a namespace or null. |
java.lang.String |
lookupPrefixForNamespace(java.lang.String uri)
Get the prefix applied to each java name for a namespace or null. |
java.lang.String |
lookupSuffixForNamespace(java.lang.String uri)
Get the suffix applied to each java name for a namespace or null. |
UserType |
lookupUserTypeForQName(javax.xml.namespace.QName qname)
Returns a user defined Java type for a given QName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int QNAME_TYPE
public static final int QNAME_DOCUMENT_TYPE
public static final int QNAME_ACCESSOR_ELEMENT
public static final int QNAME_ACCESSOR_ATTRIBUTE
Constructor Detail |
---|
public BindingConfig()
Method Detail |
---|
public java.lang.String lookupPackageForNamespace(java.lang.String uri)
public java.lang.String lookupPrefixForNamespace(java.lang.String uri)
public java.lang.String lookupSuffixForNamespace(java.lang.String uri)
public java.lang.String lookupJavanameForQName(javax.xml.namespace.QName qname)
lookupJavanameForQName(QName, int)
public java.lang.String lookupJavanameForQName(javax.xml.namespace.QName qname, int kind)
QNAME_TYPE
,
#QNAME_TYPE_DOCUMENT
,
#QNAME_METHOD_ELEMENT
,
#QNAME_METHOD_ATTRIBUTE
public InterfaceExtension[] getInterfaceExtensions()
public InterfaceExtension[] getInterfaceExtensions(java.lang.String fullJavaName)
public PrePostExtension[] getPrePostExtensions()
public PrePostExtension getPrePostExtension(java.lang.String fullJavaName)
public UserType[] getUserTypes()
public UserType lookupUserTypeForQName(javax.xml.namespace.QName qname)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |