org.fcrepo.server.search
Class ObjectFields

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.fcrepo.server.utilities.DCFields
          extended by org.fcrepo.server.search.ObjectFields
All Implemented Interfaces:
Constants, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ObjectFields
extends DCFields

Author:
Chris Wilper

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.fcrepo.common.Constants
Constants.FedoraHome
 
Field Summary
static int CDATE
           
static int CONTRIBUTOR
           
static int COVERAGE
           
static int CREATOR
           
static int DATE
           
static int DCMDATE
           
static int DESCRIPTION
           
static int FORMAT
           
static int IDENTIFIER
           
static int LABEL
           
static int LANGUAGE
           
static int MDATE
           
static int OWNERID
           
static int PID
           
static int PUBLISHER
           
static int RELATION
           
static int RIGHTS
           
static int SOURCE
           
static int STATE
           
static int SUBJECT
           
static int TITLE
           
static int TYPE
           
 
Fields inherited from interface org.fcrepo.common.Constants
ACCESS, ACTION, API, ATOM_APIM1_0, ATOM_ZIP1_1, ATOM1_1, AUDIT, AUDIT1_0, BATCH_MODIFY, BATCH_MODIFY1_1, BE_SECURITY, BE_SECURITY1_0, BINDING_SPEC, DATASTREAM, DC, DISSEMINATOR, DS_COMPOSITE_MODEL, DS_COMPOSITE_MODEL1_0, DS_INPUT_SPEC1_0, DS_INPUT_SPEC1_1, ENVIRONMENT, FCFG, FEDORA, FEDORA_APP_CONTEXT_NAME, FEDORA_DEFAULT_APP_CONTEXT, FEDORA_HOME, FOXML, FOXML1_0, FOXML1_0_LEGACY, FOXML1_1, HTTP_REQUEST, MANAGEMENT, METHOD_MAP, METS, METS_EXT, METS_EXT1_0, METS_EXT1_0_LEGACY, METS_EXT1_1, MODEL, MULGARA, OAI_DC, OAI_DC2_0, OAI_FRIENDS, OAI_FRIENDS2_0, OAI_IDENTIFIER, OAI_IDENTIFIER2_0, OAI_PMH, OAI_PMH2_0, OAI_PROV, OAI_PROV2_0, OBJ_DATASTREAMS1_0, OBJ_HISTORY1_0, OBJ_ITEMS1_0, OBJ_METHODS1_0, OBJ_PROFILE1_0, OBJ_VALIDATION1_0, OBJECT, OLD_XLINK, PID_LIST1_0, RDF, RDF_XSD, RECOVERY, RELS_EXT, RELS_EXT1_0, RELS_INT1_0, REPO_DESC1_0, RESOURCE, SDEF, SDEF_METHOD_MAP1_0, SDEP, SDEP_METHOD_MAP1_0, SDEP_METHOD_MAP1_1, SERVICE_PROFILE, SOAP, SOAP_ENC, TYPES, VIEW, WSDL, WSDL_HTTP, WSDL_MIME, XACML_POLICY, XACML_POLICY1_0, XLINK, XML_XSD, XMLNS, XSI
 
Constructor Summary
ObjectFields()
           
ObjectFields(String[] fieldNames)
           
ObjectFields(String[] fieldNames, InputStream in)
           
 
Method Summary
 void characters(char[] ch, int start, int length)
           
 void endElement(String uri, String localName, String qName)
           
 Date getCDate()
           
 Date getDCMDate()
           
 String getLabel()
           
 Date getMDate()
           
 String getOwnerId()
           
 String getPid()
           
 String getState()
           
 void setCDate(Date cDate)
           
 void setDCMDate(Date dcmDate)
           
 void setLabel(String label)
           
 void setMDate(Date mDate)
           
 void setOwnerId(String ownerId)
           
 void setPid(String pid)
           
 void setState(String state)
           
 void startElement(String uri, String localName, String qName, Attributes attrs)
           
 
Methods inherited from class org.fcrepo.server.utilities.DCFields
contributors, coverages, creators, dates, descriptions, formats, getAsXML, getAsXML, getMap, identifiers, languages, publishers, relations, rights, sources, subjects, titles, 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
 

Field Detail

PID

public static final int PID
See Also:
Constant Field Values

LABEL

public static final int LABEL
See Also:
Constant Field Values

STATE

public static final int STATE
See Also:
Constant Field Values

OWNERID

public static final int OWNERID
See Also:
Constant Field Values

CDATE

public static final int CDATE
See Also:
Constant Field Values

MDATE

public static final int MDATE
See Also:
Constant Field Values

TITLE

public static final int TITLE
See Also:
Constant Field Values

CREATOR

public static final int CREATOR
See Also:
Constant Field Values

SUBJECT

public static final int SUBJECT
See Also:
Constant Field Values

DESCRIPTION

public static final int DESCRIPTION
See Also:
Constant Field Values

PUBLISHER

public static final int PUBLISHER
See Also:
Constant Field Values

CONTRIBUTOR

public static final int CONTRIBUTOR
See Also:
Constant Field Values

DATE

public static final int DATE
See Also:
Constant Field Values

TYPE

public static final int TYPE
See Also:
Constant Field Values

FORMAT

public static final int FORMAT
See Also:
Constant Field Values

IDENTIFIER

public static final int IDENTIFIER
See Also:
Constant Field Values

SOURCE

public static final int SOURCE
See Also:
Constant Field Values

LANGUAGE

public static final int LANGUAGE
See Also:
Constant Field Values

RELATION

public static final int RELATION
See Also:
Constant Field Values

COVERAGE

public static final int COVERAGE
See Also:
Constant Field Values

RIGHTS

public static final int RIGHTS
See Also:
Constant Field Values

DCMDATE

public static final int DCMDATE
See Also:
Constant Field Values
Constructor Detail

ObjectFields

public ObjectFields()

ObjectFields

public ObjectFields(String[] fieldNames)
             throws UnrecognizedFieldException
Throws:
UnrecognizedFieldException

ObjectFields

public ObjectFields(String[] fieldNames,
                    InputStream in)
             throws UnrecognizedFieldException,
                    RepositoryConfigurationException,
                    ObjectIntegrityException,
                    StreamIOException
Throws:
UnrecognizedFieldException
RepositoryConfigurationException
ObjectIntegrityException
StreamIOException
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attrs)
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DCFields

characters

public void characters(char[] ch,
                       int start,
                       int length)
Specified by:
characters in interface ContentHandler
Overrides:
characters in class DCFields

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class DCFields

setPid

public void setPid(String pid)

getPid

public String getPid()

setLabel

public void setLabel(String label)

getLabel

public String getLabel()

setState

public void setState(String state)

getState

public String getState()

setOwnerId

public void setOwnerId(String ownerId)

getOwnerId

public String getOwnerId()

setCDate

public void setCDate(Date cDate)

getCDate

public Date getCDate()

setMDate

public void setMDate(Date mDate)

getMDate

public Date getMDate()

setDCMDate

public void setDCMDate(Date dcmDate)

getDCMDate

public Date getDCMDate()


Copyright © 2011 DuraSpace. All Rights Reserved.