|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
org.marc4j.marcxml.ExtendedFilter
org.marc4j.marcxml.MarcXmlFilter
MarcXmlReader
MarcXmlFilter is an XMLFilter that
consumes MarcHandler events and reports events to
a SAX2 ContentHandler.
ExtendedFilter,
MarcHandler,
ContentHandler| Field Summary |
| Fields inherited from class org.marc4j.marcxml.ExtendedFilter |
lh |
| Constructor Summary | |
MarcXmlFilter()
Deprecated. |
|
| Method Summary | |
void |
controlField(String tag,
char[] data)
Deprecated. Reports a control field node (001-009). |
void |
endCollection()
Deprecated. Reports the closing element for the root, reports the end of the prefix mapping and the end a document. |
void |
endDataField(String tag)
Deprecated. Reports the closing element for a data field. |
void |
endRecord()
Deprecated. Reports the closing element for a record. |
void |
parse(InputSource input)
Deprecated. Sends the input source to the MarcReader. |
void |
setFeature(String name,
boolean value)
Deprecated. Sets the boolean for the feature with the given name. |
void |
setProperty(String name,
Object obj)
Deprecated. Sets the object for the given property. |
void |
startCollection()
Deprecated. Returns the document handler being used, starts the document and reports the root element. |
void |
startDataField(String tag,
char ind1,
char ind2)
Deprecated. Reports the starting element for a data field (010-999). |
void |
startRecord(Leader leader)
Deprecated. Reports the starting element for a record and the leader node. |
void |
subfield(char code,
char[] data)
Deprecated. Reports a subfield node. |
| Methods inherited from class org.marc4j.marcxml.ExtendedFilter |
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setParent, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MarcXmlFilter()
| Method Detail |
public void setProperty(String name,
Object obj)
throws SAXNotRecognizedException,
SAXNotSupportedException
Sets the object for the given property.
setProperty in interface XMLReadersetProperty in class ExtendedFiltername - the property nameobj - the property object
SAXNotRecognizedException
SAXNotSupportedException
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
Sets the boolean for the feature with the given name.
setFeature in interface XMLReadername - the name of the featurevalue - the boolean value
SAXNotRecognizedException
SAXNotSupportedExceptionpublic void parse(InputSource input)
Sends the input source to the MarcReader.
parse in interface XMLReaderinput - the InputSourcepublic void startCollection()
Returns the document handler being used, starts the document and reports the root element.
startCollection in interface MarcHandlerpublic void startRecord(Leader leader)
Reports the starting element for a record and the leader node.
startRecord in interface MarcHandlerleader - the leader
public void controlField(String tag,
char[] data)
Reports a control field node (001-009).
controlField in interface MarcHandlertag - the tag namedata - the data element
public void startDataField(String tag,
char ind1,
char ind2)
Reports the starting element for a data field (010-999).
startDataField in interface MarcHandlertag - the tag nameind1 - the first indicator valueind2 - the second indicator value
public void subfield(char code,
char[] data)
Reports a subfield node.
subfield in interface MarcHandlercode - the data element identifierdata - the data elementpublic void endDataField(String tag)
Reports the closing element for a data field.
endDataField in interface MarcHandlertag - the tag namepublic void endRecord()
Reports the closing element for a record.
endRecord in interface MarcHandlerpublic void endCollection()
Reports the closing element for the root, reports the end of the prefix mapping and the end a document.
endCollection in interface MarcHandler
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||