Class WSDLDocumentIdentifier

java.lang.Object
org.apache.wsil.util.WSDLDocumentIdentifier

public class WSDLDocumentIdentifier extends Object
  • Constructor Details

    • WSDLDocumentIdentifier

      public WSDLDocumentIdentifier()
  • Method Details

    • isInterfaceDocument

      public static boolean isInterfaceDocument(WSDLDocument wsdlDocument)
      Determine whether the document meets the criteria for an Interface document. The document must contain Message, PortType and Binding elements.
      Parameters:
      wsdlDocument - the document to be evaluated
      Returns:
      true if Message, PortType and Binding elements are found; false otherwise
    • isBindingInterfaceDocument

      public static boolean isBindingInterfaceDocument(WSDLDocument wsdlDocument)
      Determine whether the document meets the criteria for an Interface document * that has bindings only. The document must contain Binding elements.
      Parameters:
      wsdlDocument - the document to be evaluated
      Returns:
      true if Binding element is found; false otherwise
    • isImplementationDocument

      public static boolean isImplementationDocument(WSDLDocument wsdlDocument)
      Determine whether the document meets the criteria for an Implementation document. The document must contain at least one Import and one Service element. We do not make any effort to verify the content of any import documents.
      Parameters:
      wsdlDocument - the document to be evaluated
      Returns:
      true if at least one Import and one Service element are found; false otherwise
    • isCompleteDocument

      public static boolean isCompleteDocument(WSDLDocument wsdlDocument)
      Determine whether the document meets the criteria for a Complete document. The document must contain Message, PortType, Binding and Service elements.
      Parameters:
      wsdlDocument - the document to be evaluated
      Returns:
      true if Message, PortType, Binding and Service elements are found; false otherwise