public void parse(String line, ParseState state) { if (state.isExtended()) { throw ParseException.create(ParseExceptionType.MULTIPLE_EXT_TAG_INSTANCES, getTag(), line); } state.setExtended(); }