Class NestingBase

    • Field Detail

      • s_allowedAttributes

        public static final StringArray s_allowedAttributes
        Enumeration of allowed attribute names
      • m_wrapped

        private java.lang.Boolean m_wrapped
      • m_setActions

        private java.lang.Boolean m_setActions
      • m_useNillable

        private java.lang.Boolean m_useNillable
      • m_serviceBase

        private java.lang.String m_serviceBase
      • m_namedChildMap

        private final java.util.Map m_namedChildMap
    • Constructor Detail

      • NestingBase

        public NestingBase​(SharedNestingBase parent)
        Constructor.
        Parameters:
        parent -
    • Method Detail

      • isWrapped

        public boolean isWrapped()
        Check wrapped flag.
        Returns:
        wrapped flag
      • isSoapAction

        public boolean isSoapAction()
        Check if soapAction should be set.
        Returns:
        soapAction flag
      • isNillable

        public boolean isNillable()
        Check if xsi:nillable should be used for optional values (rather than minOccurs='0').
        Returns:
        xsi:nillable flag
      • getServiceBase

        public java.lang.String getServiceBase()
        Get the service base address.
        Returns:
        base address
      • getChild

        public CustomBase getChild​(java.lang.String name)
        Get child by name.
        Parameters:
        name -
        Returns:
        named child, null if name not registered
      • registerName

        public java.lang.String registerName​(java.lang.String base,
                                             CustomBase child)
        Register a child name. If the base name supplied has already been used by a different child, the name will be modified by adding a numeric suffix to make it unique. Once a name has been registered for a child, calling this method again with that name is guaranteed to just return that same name. Depending on the nesting level, the type of child may take different forms. This doesn't care what the names represent, it just makes sure they're unique.
        Parameters:
        base - proposed name
        child - named child
        Returns:
        allowed name
      • getWsdlNamespace

        public abstract java.lang.String getWsdlNamespace()
        Get WSDL definitions namespace.
        Returns:
        WSDL namespace
      • getContainingClass

        protected static SharedNestingBase getContainingClass​(IUnmarshallingContext ictx)
        Gets the parent element link from the unmarshalling stack. This method is for use by factories during unmarshalling.
        Parameters:
        ictx - unmarshalling context
        Returns:
        containing class