Class ErrorParser
- java.lang.Object
-
- com.lyncode.xoai.serviceprovider.oaipmh.ElementParser<OAIPMHerrorType>
-
- com.lyncode.xoai.serviceprovider.oaipmh.ErrorParser
-
- All Implemented Interfaces:
XMLParser
public class ErrorParser extends ElementParser<OAIPMHerrorType>
-
-
Constructor Summary
Constructors Constructor Description ErrorParser(OAIServiceConfiguration<MetadataParser,AboutItemParser,DescriptionParser,AboutSetParser> oaiServiceConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAIPMHerrorTypeparseElement(XMLEventReader reader)-
Methods inherited from class com.lyncode.xoai.serviceprovider.oaipmh.ElementParser
getConfiguration, getElement, nextElement, parse
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CODE
public static final String CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ErrorParser
public ErrorParser(OAIServiceConfiguration<MetadataParser,AboutItemParser,DescriptionParser,AboutSetParser> oaiServiceConfiguration)
-
-
Method Detail
-
parseElement
public OAIPMHerrorType parseElement(XMLEventReader reader) throws ParseException
- Specified by:
parseElementin classElementParser<OAIPMHerrorType>- Throws:
ParseException
-
-