- Project tools
-
-
- How do I...
-
| Category |
Featured projects |
| scm |
Subversion,
Subclipse,
TortoiseSVN,
RapidSVN
|
| issuetrack |
Scarab |
| requirements |
xmlbasedsrs |
| design |
ArgoUML |
| techcomm |
SubEtha,
eyebrowse,
midgard,
cowiki |
| construction |
antelope,
scons,
frameworx,
build-interceptor,
propel,
phing
|
| testing |
maxq,
aut
|
| deployment |
current |
| process |
ReadySET |
| libraries |
GEF,
Axion,
Style,
SSTree
|
| Over 500 more tools... |
|
org.marc4j.marcxml
Class MarcXmlFilter
java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.marc4j.marcxml.ExtendedFilter
org.marc4j.marcxml.MarcXmlFilter
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, MarcHandler, XMLFilter, XMLReader
Deprecated. This class has been replaced by
MarcXmlReader
- public class MarcXmlFilter
- extends ExtendedFilter
- implements MarcHandler
MarcXmlFilter is an XMLFilter that
consumes MarcHandler events and reports events to
a SAX2 ContentHandler.
- Version:
- $Revision: 1.4 $
- Author:
- Bas Peters
- See Also:
ExtendedFilter,
MarcHandler,
ContentHandler
|
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.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 |
MarcXmlFilter
public MarcXmlFilter()
- Deprecated.
setProperty
public void setProperty(String name,
Object obj)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Deprecated.
Sets the object for the given property.
- Specified by:
setProperty in interface XMLReader- Overrides:
setProperty in class ExtendedFilter
- Parameters:
name - the property nameobj - the property object
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
setFeature
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Deprecated.
Sets the boolean for the feature with the given name.
- Specified by:
setFeature in interface XMLReader
- Parameters:
name - the name of the featurevalue - the boolean value
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
parse
public void parse(InputSource input)
- Deprecated.
Sends the input source to the MarcReader.
- Specified by:
parse in interface XMLReader
- Parameters:
input - the InputSource
startCollection
public void startCollection()
- Deprecated.
Returns the document handler being used, starts the document
and reports the root element.
- Specified by:
startCollection in interface MarcHandler
startRecord
public void startRecord(Leader leader)
- Deprecated.
Reports the starting element for a record and the leader node.
- Specified by:
startRecord in interface MarcHandler
- Parameters:
leader - the leader
controlField
public void controlField(String tag,
char[] data)
- Deprecated.
Reports a control field node (001-009).
- Specified by:
controlField in interface MarcHandler
- Parameters:
tag - the tag namedata - the data element
startDataField
public void startDataField(String tag,
char ind1,
char ind2)
- Deprecated.
Reports the starting element for a data field (010-999).
- Specified by:
startDataField in interface MarcHandler
- Parameters:
tag - the tag nameind1 - the first indicator valueind2 - the second indicator value
subfield
public void subfield(char code,
char[] data)
- Deprecated.
Reports a subfield node.
- Specified by:
subfield in interface MarcHandler
- Parameters:
code - the data element identifierdata - the data element
endDataField
public void endDataField(String tag)
- Deprecated.
Reports the closing element for a data field.
- Specified by:
endDataField in interface MarcHandler
- Parameters:
tag - the tag name
endRecord
public void endRecord()
- Deprecated.
Reports the closing element for a record.
- Specified by:
endRecord in interface MarcHandler
endCollection
public void endCollection()
- Deprecated.
Reports the closing element for the root, reports the end
of the prefix mapping and the end a document.
- Specified by:
endCollection in interface MarcHandler
Copyright © 2001-2004 Bas Peters. All Rights Reserved.
|