Top Description Methods
com.sun.tools.xjc.outline

public Interface PackageOutline

Known Direct Implementers
com.sun.tools.xjc.generator.bean.PackageOutlineImpl
Imports
java.util.Set, jakarta.xml.bind.annotation.XmlNsForm, .XmlSchema, com.sun.codemodel.JDefinedClass, .JPackage, com.sun.tools.xjc.generator.bean.ObjectFactoryGenerator

Outline object that provides per-package information. This interface is accessible from Outline.
Author
Kohsuke Kawaguchi ([email protected])

Method Summary

Modifier and TypeMethod and Description
public JPackage
_package()

The exposed package this context is representing.

public XmlNsForm
getAttributeFormDefault()

The attribute form default for this package.

public Set<? extends ClassOutline>

Returns:

can be empty but never null.
getClasses
()

Gets ClassOutlines whose ClassOutline#_package() points to this object.

public XmlNsForm
getElementFormDefault()

The element form default for this package.

public String
getMostUsedNamespaceURI()

The namespace URI most commonly used in classes in this package.

public JDefinedClass
objectFactory()

Generated ObjectFactory from package.

public ObjectFactoryGenerator
objectFactoryGenerator()

Generates an ObjectFactory class for this package.

Method Detail

_packageback to summary
public JPackage _package()

The exposed package this context is representing.

An exposed package is a package visible to users, a package supposed to be used by client applications. Sometime we have another parallel package that's not visible to users.

getAttributeFormDefaultback to summary
public XmlNsForm getAttributeFormDefault()

The attribute form default for this package.

The value is computed by examining what would yield the smallest generated code.

getClassesback to summary
public Set<? extends ClassOutline> getClasses()

Gets ClassOutlines whose ClassOutline#_package() points to this object.

Returns:Set<? extends ClassOutline>

can be empty but never null.

getElementFormDefaultback to summary
public XmlNsForm getElementFormDefault()

The element form default for this package.

The value is computed by examining what would yield the smallest generated code.

getMostUsedNamespaceURIback to summary
public String getMostUsedNamespaceURI()

The namespace URI most commonly used in classes in this package. This should be used as the namespace URI for XmlSchema#namespace().

Null if no default

objectFactoryback to summary
public JDefinedClass objectFactory()

Generated ObjectFactory from package. This method allows a caller to obtain a reference to such ObjectFactory from its package. Must not be null.

objectFactoryGeneratorback to summary
public ObjectFactoryGenerator objectFactoryGenerator()

Generates an ObjectFactory class for this package.