|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.tools.xjc.generator.bean.PackageOutlineImpl
public final class PackageOutlineImpl
PackageOutline enhanced with schema2java specific
information.
| Constructor Summary | |
|---|---|
protected |
PackageOutlineImpl(BeanGenerator outline,
Model model,
JPackage _pkg)
|
| Method Summary | |
|---|---|
JPackage |
_package()
The exposed package this context is representing. |
void |
calcDefaultValues()
Compute the most common namespace URI in this package (to put into XmlSchema.namespace() and what value
we should put into XmlSchema.elementFormDefault(). |
XmlNsForm |
getAttributeFormDefault()
The attribute form default for this package. |
Set<ClassOutlineImpl> |
getClasses()
Gets ClassOutlines whose ClassOutline._package()
points to this object. |
XmlNsForm |
getElementFormDefault()
The element form default for this package. |
String |
getMostUsedNamespaceURI()
The namespace URI most commonly used in classes in this package. |
JDefinedClass |
objectFactory()
Generated ObjectFactory from package. |
ObjectFactoryGenerator |
objectFactoryGenerator()
Generates an ObjectFactory class for this package. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected PackageOutlineImpl(BeanGenerator outline,
Model model,
JPackage _pkg)
| Method Detail |
|---|
public String getMostUsedNamespaceURI()
XmlSchema.namespace().
Null if no default
getMostUsedNamespaceURI in interface PackageOutlinecalcDefaultValues().public XmlNsForm getAttributeFormDefault()
The value is computed by examining what would yield the smallest generated code.
getAttributeFormDefault in interface PackageOutlinepublic XmlNsForm getElementFormDefault()
The value is computed by examining what would yield the smallest generated code.
getElementFormDefault in interface PackageOutlinepublic JPackage _package()
PackageOutlineAn 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.
_package in interface PackageOutlinepublic ObjectFactoryGenerator objectFactoryGenerator()
PackageOutline
objectFactoryGenerator in interface PackageOutlinepublic Set<ClassOutlineImpl> getClasses()
PackageOutlineClassOutlines whose ClassOutline._package()
points to this object.
getClasses in interface PackageOutlinepublic JDefinedClass objectFactory()
PackageOutline
objectFactory in interface PackageOutlinepublic void calcDefaultValues()
XmlSchema.namespace() and what value
we should put into XmlSchema.elementFormDefault().
This method is called after classes field is filled up.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||