DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.ndr.util
Class NCSCollectReader

java.lang.Object
  extended by org.dlese.dpc.schemedit.ndr.util.NCSCollectReader

public class NCSCollectReader
extends Object

Class to extract information from a ncs_collect metadata record represented as a dom4j.Document.

Author:
Jonathan Ostwald

Field Summary
static String collectionAgentPath
          NOT YET DOCUMENTED
 Document doc
          NOT YET DOCUMENTED
 
Constructor Summary
NCSCollectReader(Document doc)
          Constructor for the NCSCollectReader object given a dom4j.Document in ncs_collect format.
 
Method Summary
 String getAltText()
          Gets the altText attribute of the NCSCollectReader object
 String getApplicationAgent()
          Gets the applicationAgent attribute of the NCSCollectReader object
 String getBrandURL()
          Gets the brandURL attribute of the NCSCollectReader object
 String getCollectionAgent()
          Gets the collectionAgent attribute of the NCSCollectReader object
 List getContacts()
          Gets the contacts attribute of the NCSCollectReader object
 String getDescription()
          Gets the description attribute of the NCSCollectReader object
 String getImageHeight()
          Gets the imageHeight attribute of the NCSCollectReader object
 String getImageWidth()
          Gets the imageWidth attribute of the NCSCollectReader object
 String getOaiBaseUrl()
          Gets the oaiBaseUrl attribute of the NCSCollectReader object
 String getOaiFormat()
           
 NDRConstants.OAIVisibilty getOaiVisibility()
          Gets the oaiVisibility attribute of the NCSCollectReader object
 String getRecordID()
          Gets the recordID attribute of the NCSCollectReader object
 List getSets()
          Gets the sets attribute of the NCSCollectReader object
 String getTitle()
          Gets the title attribute of the NCSCollectReader object
 String getUrl()
          Gets the url attribute of the NCSCollectReader object
 Document getWritableDocument()
          Gets the writableDocument attribute of the NCSCollectReader object
 boolean isOaiIngest()
          Gets the oaiIngest attribute of the NCSCollectReader object
static void main(String[] args)
          The main program for the NCSCollectReader class
 void serviceDescriptionTest()
          NOT YET DOCUMENTED
 void setAltText(String width)
          Sets the altText attribute of the NCSCollectReader object
 void setBrandURL(String url)
          Sets the brandURL attribute of the NCSCollectReader object
 void setCollectionAgent(String agentHandle)
          Sets the collectionAgent attribute of the NCSCollectReader object
 void setContacts(List contacts)
          Sets the contacts attribute of the NCSCollectReader object
 void setImageHeight(String height)
          Sets the imageHeight attribute of the NCSCollectReader object
 void setImageWidth(String width)
          Sets the imageWidth attribute of the NCSCollectReader object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doc

public Document doc
NOT YET DOCUMENTED


collectionAgentPath

public static String collectionAgentPath
NOT YET DOCUMENTED

Constructor Detail

NCSCollectReader

public NCSCollectReader(Document doc)
Constructor for the NCSCollectReader object given a dom4j.Document in ncs_collect format.

Parameters:
doc - NOT YET DOCUMENTED
Method Detail

getOaiBaseUrl

public String getOaiBaseUrl()
Gets the oaiBaseUrl attribute of the NCSCollectReader object

Returns:
The oaiBaseUrl value

getOaiVisibility

public NDRConstants.OAIVisibilty getOaiVisibility()
Gets the oaiVisibility attribute of the NCSCollectReader object

Returns:
The oaiVisibility value

getWritableDocument

public Document getWritableDocument()
Gets the writableDocument attribute of the NCSCollectReader object

Returns:
The writableDocument value

isOaiIngest

public boolean isOaiIngest()
Gets the oaiIngest attribute of the NCSCollectReader object

Returns:
The oaiIngest value

getOaiFormat

public String getOaiFormat()

getTitle

public String getTitle()
Gets the title attribute of the NCSCollectReader object

Returns:
The title value

getUrl

public String getUrl()
Gets the url attribute of the NCSCollectReader object

Returns:
The url value

getRecordID

public String getRecordID()
Gets the recordID attribute of the NCSCollectReader object

Returns:
The recordID value

getDescription

public String getDescription()
Gets the description attribute of the NCSCollectReader object

Returns:
The description value

getBrandURL

public String getBrandURL()
Gets the brandURL attribute of the NCSCollectReader object

Returns:
The brandURL value

setBrandURL

public void setBrandURL(String url)
Sets the brandURL attribute of the NCSCollectReader object

Parameters:
url - The new brandURL value

getImageWidth

public String getImageWidth()
Gets the imageWidth attribute of the NCSCollectReader object

Returns:
The imageWidth value

setImageWidth

public void setImageWidth(String width)
Sets the imageWidth attribute of the NCSCollectReader object

Parameters:
width - The new imageWidth value

getImageHeight

public String getImageHeight()
Gets the imageHeight attribute of the NCSCollectReader object

Returns:
The imageHeight value

setImageHeight

public void setImageHeight(String height)
Sets the imageHeight attribute of the NCSCollectReader object

Parameters:
height - The new imageHeight value

getSets

public List getSets()
Gets the sets attribute of the NCSCollectReader object

Returns:
The sets value

getAltText

public String getAltText()
Gets the altText attribute of the NCSCollectReader object

Returns:
The altText value

setAltText

public void setAltText(String width)
Sets the altText attribute of the NCSCollectReader object

Parameters:
width - The new altText value

getContacts

public List getContacts()
Gets the contacts attribute of the NCSCollectReader object

Returns:
The contacts value

setContacts

public void setContacts(List contacts)
Sets the contacts attribute of the NCSCollectReader object

Parameters:
contacts - The new contacts value

getCollectionAgent

public String getCollectionAgent()
Gets the collectionAgent attribute of the NCSCollectReader object

Returns:
The collectionAgent value

setCollectionAgent

public void setCollectionAgent(String agentHandle)
Sets the collectionAgent attribute of the NCSCollectReader object

Parameters:
agentHandle - The new collectionAgent value

getApplicationAgent

public String getApplicationAgent()
Gets the applicationAgent attribute of the NCSCollectReader object

Returns:
The applicationAgent value

main

public static void main(String[] args)
                 throws Exception
The main program for the NCSCollectReader class

Parameters:
args - The command line arguments
Throws:
Exception - NOT YET DOCUMENTED

serviceDescriptionTest

public void serviceDescriptionTest()
NOT YET DOCUMENTED


DLESE Tools
v1.6.0