Invokes parser for Subscription State header field.
// A parser for this header should be the same as for any
// generic header, so use the parser from ExtensionParser.
Header h = new ExtensionParser(lexer.getBuffer()).parse();
SubscriptionStateHeader retval = null;
try {
retval = new SubscriptionStateHeader(h.getValue().toString());
} catch (IllegalArgumentException iae) {
throw new ParseException(iae.getMessage(), 0);
}
// Copy parameters from the extension header.
NameValueList parameterList = ((ParametersHeader)h).getParameters();
if (parameterList != null && parameterList.size() > 0) {
retval.setParameters(parameterList);
}
// System.out.println(">>> parse(): " + retval);
return retval;