TextConstruct.ChildHandlerInfo chi =
TextConstruct.getChildHandler(attrs);
if (state.title != null) {
throw new ParseException(
CoreErrorDomain.ERR.duplicateTitle);
}
state.title = chi.textConstruct;
return chi.handler;
} else if (localName.equals("summary")) {
TextConstruct.ChildHandlerInfo chi =
TextConstruct.getChildHandler(attrs);
if (state.summary != null) {
throw new ParseException(
CoreErrorDomain.ERR.duplicateSummary);
}
state.summary = chi.textConstruct;
return chi.handler;
} else if (localName.equals("rights")) {
TextConstruct.ChildHandlerInfo chi =
TextConstruct.getChildHandler(attrs);
if (state.rights != null) {
throw new ParseException(
CoreErrorDomain.ERR.duplicateRights);
}
state.rights = chi.textConstruct;
return chi.handler;
} else if (localName.equals("content")) {
if (state.content != null) {
throw new ParseException(
CoreErrorDomain.ERR.duplicateContent);
}
Content.ChildHandlerInfo chi =
getContentHandlerInfo(extProfile, attrs);