Class SignatureParser

java.lang.Object
org.jibx.ws.wsdl.tools.SignatureParser

public class SignatureParser extends Object
Pull parser for generic method or field signature.
Author:
Dennis M. Sosnoski
  • Field Details

  • Constructor Details

    • SignatureParser

      public SignatureParser(String sig)
      Constructor.
      Parameters:
      sig - signature attribute value
  • Method Details

    • isParameterized

      public boolean isParameterized()
      Check if type is parameterized. It is an error to call this if the current event is not TYPE_EVENT.
      Returns:
      true if parameterized type
    • isPrimitive

      public boolean isPrimitive()
      Check if type is a primitive. It is an error to call this if the current event is not TYPE_EVENT.
      Returns:
      true if primitive type
    • getEvent

      public int getEvent()
      Get current event.
      Returns:
      event
    • getType

      public String getType()
      Get type. It is an error to call this if the current event is not TYPE_EVENT.
      Returns:
      type
    • next

      public int next()
      Get next parse event.
      Returns:
      event