public class MarcXmlParser extends Object
Record objects from SAX events and pushes each item onto
the top of the RecordStack. Used by
MarcXmlParserThread. This class requires a JAXP compliant XML
parser and XSLT processor. The underlying SAX2 parser should be namespace
aware.| Constructor and Description |
|---|
MarcXmlParser(MarcXmlHandler handler)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
parse(InputSource input)
Calls the parser.
|
void |
parse(InputSource input,
TransformerHandler th)
Calls the parser and tries to transform the source into MARCXML using the
given stylesheet source before creating
Record objects. |
public MarcXmlParser(MarcXmlHandler handler)
handler - the MarcXmlHandler objectpublic void parse(InputSource input)
input - the input sourcepublic void parse(InputSource input, TransformerHandler th)
Record objects.input - the input sourceth - the transformation content handlerCopyright © 2014 FreeLibrary. All Rights Reserved.