Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
org.apache.xmlbeans
public class: BindingConfig [javadoc | source]
java.lang.Object
   org.apache.xmlbeans.BindingConfig

Direct Known Subclasses:
    BindingConfigImpl

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.
Field Summary
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     
Method from org.apache.xmlbeans.BindingConfig Summary:
getInterfaceExtensions,   getInterfaceExtensions,   getPrePostExtension,   getPrePostExtensions,   getUserTypes,   lookupJavanameForQName,   lookupJavanameForQName,   lookupPackageForNamespace,   lookupPrefixForNamespace,   lookupSuffixForNamespace,   lookupUserTypeForQName
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xmlbeans.BindingConfig Detail:
 public InterfaceExtension[] getInterfaceExtensions() 
    Returns all configured InterfaceExtensions or an empty array.
 public InterfaceExtension[] getInterfaceExtensions(String fullJavaName) 
    Returns all InterfaceExtensions defined for the fully qualified java type generated from schema compilation or an empty array.
 public PrePostExtension getPrePostExtension(String fullJavaName) 
    Returns the PrePostExtension defined for the fully qualified java type generated from schema compilation or null.
 public PrePostExtension[] getPrePostExtensions() 
    Returns all configued PrePostExtensions or an empty array.
 public UserType[] getUserTypes() 
    Returns all defined user types.
 public String lookupJavanameForQName(QName qname) 
Deprecated! replaced - with #lookupJavanameForQName(QName, int)

    Get the java name for a QName or null.
 public String lookupJavanameForQName(QName qname,
    int kind) 
    Get the java name for a QName of a specific component kind, or null.
 public String lookupPackageForNamespace(String uri) 
    Get the package name for a namespace or null.
 public String lookupPrefixForNamespace(String uri) 
    Get the prefix applied to each java name for a namespace or null.
 public String lookupSuffixForNamespace(String uri) 
    Get the suffix applied to each java name for a namespace or null.
 public UserType lookupUserTypeForQName(QName qname) 
    Returns a user defined Java type for a given QName.