com.sun.tools.xjc.api
public final class XJC extends Object
Method Summary | |
---|---|
static JavaCompiler | createJavaCompiler()
Gets a fresh JavaCompiler.
|
static SchemaCompiler | createSchemaCompiler()
Gets a fresh SchemaCompiler.
|
static String | getDefaultPackageName(String namespaceUri)
Computes the namespace URI -> package name conversion
as specified by the JAXB spec.
|
Returns: always return non-null object.
Returns: always return non-null object.
Parameters: namespaceUri Namespace URI. Can be empty, but must not be null.
Returns: A Java package name (e.g., "foo.bar"). "" to represent the root package. This method returns null if the method fails to derive the package name (there are certain namespace URIs with which this algorithm does not work --- such as ":::" as the URI.)