PackageOutline enhanced with schema2java specific
information.
| Modifier and Type | Field and Description |
|---|---|
| private final Model | |
| private final JPackage | |
| private XmlNsForm | |
| pack-priv final Set | |
| private final Set | |
| private XmlNsForm | |
| private String | |
| private final ObjectFactoryGenerator | |
| private Map | |
| private Map |
| Access | Constructor and Description |
|---|---|
| protected |
| _model | back to summary |
|---|---|
| private final Model _model | |
| _package | back to summary |
|---|---|
| private final JPackage _package | |
| attributeFormDefault | back to summary |
|---|---|
| private XmlNsForm attributeFormDefault | |
| classes | back to summary |
|---|---|
| pack-priv final Set<ClassOutlineImpl> classes | |
| classesView | back to summary |
|---|---|
| private final Set<ClassOutlineImpl> classesView | |
| elementFormDefault | back to summary |
|---|---|
| private XmlNsForm elementFormDefault | |
| mostUsedNamespaceURI | back to summary |
|---|---|
| private String mostUsedNamespaceURI | |
| objectFactoryGenerator | back to summary |
|---|---|
| private final ObjectFactoryGenerator objectFactoryGenerator | |
| propUriCountMap | back to summary |
|---|---|
| private Map<String, Integer> propUriCountMap | |
| uriCountMap | back to summary |
|---|---|
| private Map<String, Integer> uriCountMap | |
| PackageOutlineImpl | back to summary |
|---|---|
| protected PackageOutlineImpl(BeanGenerator outline, Model model, JPackage _pkg) | |
| _package | back to summary |
|---|---|
| public JPackage _package() Implements com. Doc from com. 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.
| |
| calcDefaultValues | back to summary |
|---|---|
| public void calcDefaultValues() Compute the most common namespace URI in this package
(to put into | |
| countURI | back to summary |
|---|---|
| private void countURI(Map<String, Integer> map, QName qname) pull the uri out of the specified QName and keep track of it in the specified hash map | |
| getAttributeFormDefault | back to summary |
|---|---|
| public XmlNsForm getAttributeFormDefault() Implements com. The attribute form default for this package. The value is computed by examining what would yield the smallest generated code.
| |
| getClasses | back to summary |
|---|---|
| public Set Implements com. Doc from com. Gets
| |
| getElementFormDefault | back to summary |
|---|---|
| public XmlNsForm getElementFormDefault() Implements com. The element form default for this package. The value is computed by examining what would yield the smallest generated code.
| |
| getFormDefault | back to summary |
|---|---|
| private XmlNsForm getFormDefault() Calculate the element form defaulting. Compare the most frequently used property URI to the most frequently used element/type URI. If they match, then return QUALIFIED | |
| getMostUsedNamespaceURI | back to summary |
|---|---|
| public String getMostUsedNamespaceURI() Implements com. The namespace URI most commonly used in classes in this package.
This should be used as the namespace URI for Null if no default
| |
| getMostUsedURI | back to summary |
|---|---|
| private String getMostUsedURI(Map<String, Integer> map) Iterate through the hash map looking for the namespace used most frequently. Ties are arbitrarily broken by the order in which the map keys are iterated over. Because JAX-WS often reassigns the "" namespace URI, and when that happens it unintentionally also renames (normally unqualified) local elements, prefer non-"" URI when there's a tie. | |
| objectFactory | back to summary |
|---|---|
| public JDefinedClass objectFactory() Implements com. Doc from com. Generated ObjectFactory from package. This method allows a caller to obtain a reference to such ObjectFactory from its package. Must not be null.
| |
| objectFactoryGenerator | back to summary |
|---|---|
| public ObjectFactoryGenerator objectFactoryGenerator() Implements com. Doc from com. Generates an ObjectFactory class for this package.
| |