fedora.server.utilities
Class DCFields
java.lang.Object
org.xml.sax.helpers.DefaultHandler
fedora.server.utilities.DCFields
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- Direct Known Subclasses:
- ObjectFields
- public class DCFields
- extends org.xml.sax.helpers.DefaultHandler
Title: DCFields.java
Description:
-----------------------------------------------------------------------------
License and Copyright: The contents of this file are subject to the
Mozilla Public License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of the License
at http://www.mozilla.org/MPL/.
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
the specific language governing rights and limitations under the License.
The entire file consists of original code. Copyright © 2002-2005 by The
Rector and Visitors of the University of Virginia and Cornell University.
All rights reserved.
-----------------------------------------------------------------------------
- Version:
- $Id: DCFields.java,v 1.8 2005/01/11 20:06:09 cwilper Exp $
- Author:
- cwilper@cs.cornell.edu
|
Method Summary |
void |
characters(char[] ch,
int start,
int length)
|
java.util.List |
contributors()
|
java.util.List |
coverages()
|
java.util.List |
creators()
|
java.util.List |
dates()
|
java.util.List |
descriptions()
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
|
java.util.List |
formats()
|
java.lang.String |
getAsXML()
Get the DCFields as a String in namespace-qualified XML form,
matching the oai_dc schema.... but without the xml declaration. |
java.util.List |
identifiers()
|
java.util.List |
languages()
|
java.util.List |
publishers()
|
java.util.List |
relations()
|
java.util.List |
rights()
|
java.util.List |
sources()
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
|
java.util.List |
subjects()
|
java.util.List |
titles()
|
java.util.List |
types()
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAIDC_PREFIX
public static final java.lang.String OAIDC_PREFIX
- See Also:
- Constant Field Values
OAIDC_NS
public static final java.lang.String OAIDC_NS
- See Also:
- Constant Field Values
DC_PREFIX
public static final java.lang.String DC_PREFIX
- See Also:
- Constant Field Values
DC_NS
public static final java.lang.String DC_NS
- See Also:
- Constant Field Values
DCFields
public DCFields()
DCFields
public DCFields(java.io.InputStream in)
throws RepositoryConfigurationException,
ObjectIntegrityException,
StreamIOException
startElement
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
characters
public void characters(char[] ch,
int start,
int length)
endElement
public void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
titles
public java.util.List titles()
creators
public java.util.List creators()
subjects
public java.util.List subjects()
descriptions
public java.util.List descriptions()
publishers
public java.util.List publishers()
contributors
public java.util.List contributors()
dates
public java.util.List dates()
types
public java.util.List types()
formats
public java.util.List formats()
identifiers
public java.util.List identifiers()
sources
public java.util.List sources()
languages
public java.util.List languages()
relations
public java.util.List relations()
coverages
public java.util.List coverages()
rights
public java.util.List rights()
getAsXML
public java.lang.String getAsXML()
- Get the DCFields as a String in namespace-qualified XML form,
matching the oai_dc schema.... but without the xml declaration.