Package org.jibx.ws.wsdl.tools
Class SignatureParser
java.lang.Object
org.jibx.ws.wsdl.tools.SignatureParser
Pull parser for generic method or field signature.
- Author:
- Dennis M. Sosnoski
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private int
private boolean
private boolean
private int
private final String
private String
static final int
static final int
private static final String
private static final String
private static final String
private static final String
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
END_EVENT
public static final int END_EVENT- See Also:
-
TYPE_EVENT
public static final int TYPE_EVENT- See Also:
-
METHOD_PARAMETERS_START_EVENT
public static final int METHOD_PARAMETERS_START_EVENT- See Also:
-
METHOD_PARAMETERS_END_EVENT
public static final int METHOD_PARAMETERS_END_EVENT- See Also:
-
TYPE_PARAMETERS_START_EVENT
public static final int TYPE_PARAMETERS_START_EVENT- See Also:
-
TYPE_PARAMETERS_END_EVENT
public static final int TYPE_PARAMETERS_END_EVENT- See Also:
-
STRING_SIGNATURE
- See Also:
-
STRING_TYPE
- See Also:
-
OBJECT_SIGNATURE
- See Also:
-
OBJECT_TYPE
- See Also:
-
m_signature
-
m_offset
private int m_offset -
m_event
private int m_event -
m_isPrimitive
private boolean m_isPrimitive -
m_isParameterized
private boolean m_isParameterized -
m_type
-
-
Constructor Details
-
SignatureParser
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 notTYPE_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 notTYPE_EVENT
.- Returns:
true
if primitive type
-
getEvent
public int getEvent()Get current event.- Returns:
- event
-
getType
Get type. It is an error to call this if the current event is notTYPE_EVENT
.- Returns:
- type
-
next
public int next()Get next parse event.- Returns:
- event
-