question: public final static HeaderElement parseHeaderElement ( final String value , HeaderValueParser parser ) throws ParseException { if ( value == null ) { throw new IllegalArgumentException ( "Value to parse may not be null" ) ; } if ( parser == null ) parser = BasicHeaderValueParser . DEFAULT ; CharArrayBuffer buffer = new CharArrayBuffer ( value . length ( ) ) ; buffer . append ( value ) ; ParserCursor cursor = new ParserCursor ( 0 , value . length ( ) ) ; return parser . parseHeaderElement ( buffer , cursor ) ; }
target:  Parses an element with the given parser.