Class PackageOutlineImpl

    • Method Detail

      • getMostUsedNamespaceURI

        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

        Specified by:
        getMostUsedNamespaceURI in interface PackageOutline
        See Also:
        calcDefaultValues()
      • getAttributeFormDefault

        public jakarta.xml.bind.annotation.XmlNsForm getAttributeFormDefault()
        The attribute form default for this package.

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

        Specified by:
        getAttributeFormDefault in interface PackageOutline
      • getElementFormDefault

        public jakarta.xml.bind.annotation.XmlNsForm getElementFormDefault()
        The element form default for this package.

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

        Specified by:
        getElementFormDefault in interface PackageOutline
      • _package

        public JPackage _package()
        Description copied from interface: PackageOutline
        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.

        Specified by:
        _package in interface PackageOutline
      • objectFactory

        public JDefinedClass objectFactory()
        Description copied from interface: PackageOutline
        Generated ObjectFactory from package. This method allows a caller to obtain a reference to such ObjectFactory from its package. Must not be null.
        Specified by:
        objectFactory in interface PackageOutline
      • calcDefaultValues

        public 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(). This method is called after classes field is filled up.