Class NestingBase

Direct Known Subclasses:
OperationCustom, ServiceCustom, WsdlCustom

public abstract class NestingBase extends SharedNestingBase
Base class for nested WSDL customizations that can contain other customizations.
Author:
Dennis M. Sosnoski
  • Field Details

    • s_allowedAttributes

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

      private Boolean m_wrapped
    • m_setActions

      private Boolean m_setActions
    • m_useNillable

      private Boolean m_useNillable
    • m_serviceBase

      private String m_serviceBase
    • m_namedChildMap

      private final Map m_namedChildMap
  • Constructor Details

    • NestingBase

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

    • 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 String getServiceBase()
      Get the service base address.
      Returns:
      base address
    • getChild

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

      public String registerName(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 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