Package org.dlese.dpc.schemedit.ndr.util
Class NCSCollectReader
java.lang.Object
org.dlese.dpc.schemedit.ndr.util.NCSCollectReader
Class to extract information from a ncs_collect metadata record represented
as a dom4j.Document.
- Author:
- Jonathan Ostwald
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringNOT YET DOCUMENTEDorg.dom4j.DocumentNOT YET DOCUMENTED -
Constructor Summary
ConstructorsConstructorDescriptionNCSCollectReader(org.dom4j.Document doc) Constructor for the NCSCollectReader object given a dom4j.Document in ncs_collect format. -
Method Summary
Modifier and TypeMethodDescriptionGets the altText attribute of the NCSCollectReader objectGets the applicationAgent attribute of the NCSCollectReader objectGets the brandURL attribute of the NCSCollectReader objectGets the collectionAgent attribute of the NCSCollectReader objectGets the contacts attribute of the NCSCollectReader objectGets the description attribute of the NCSCollectReader objectGets the imageHeight attribute of the NCSCollectReader objectGets the imageWidth attribute of the NCSCollectReader objectGets the oaiBaseUrl attribute of the NCSCollectReader objectGets the oaiVisibility attribute of the NCSCollectReader objectGets the recordID attribute of the NCSCollectReader objectgetSets()Gets the sets attribute of the NCSCollectReader objectgetTitle()Gets the title attribute of the NCSCollectReader objectgetUrl()Gets the url attribute of the NCSCollectReader objectorg.dom4j.DocumentGets the writableDocument attribute of the NCSCollectReader objectbooleanGets the oaiIngest attribute of the NCSCollectReader objectstatic voidThe main program for the NCSCollectReader classvoidNOT YET DOCUMENTEDvoidsetAltText(String width) Sets the altText attribute of the NCSCollectReader objectvoidsetBrandURL(String url) Sets the brandURL attribute of the NCSCollectReader objectvoidsetCollectionAgent(String agentHandle) Sets the collectionAgent attribute of the NCSCollectReader objectvoidsetContacts(List contacts) Sets the contacts attribute of the NCSCollectReader objectvoidsetImageHeight(String height) Sets the imageHeight attribute of the NCSCollectReader objectvoidsetImageWidth(String width) Sets the imageWidth attribute of the NCSCollectReader object
-
Field Details
-
doc
public org.dom4j.Document docNOT YET DOCUMENTED -
collectionAgentPath
NOT YET DOCUMENTED
-
-
Constructor Details
-
NCSCollectReader
public NCSCollectReader(org.dom4j.Document doc) Constructor for the NCSCollectReader object given a dom4j.Document in ncs_collect format.- Parameters:
doc- NOT YET DOCUMENTED
-
-
Method Details
-
getOaiBaseUrl
Gets the oaiBaseUrl attribute of the NCSCollectReader object- Returns:
- The oaiBaseUrl value
-
getOaiVisibility
Gets the oaiVisibility attribute of the NCSCollectReader object- Returns:
- The oaiVisibility value
-
getWritableDocument
public org.dom4j.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
-
getTitle
Gets the title attribute of the NCSCollectReader object- Returns:
- The title value
-
getUrl
Gets the url attribute of the NCSCollectReader object- Returns:
- The url value
-
getRecordID
Gets the recordID attribute of the NCSCollectReader object- Returns:
- The recordID value
-
getDescription
Gets the description attribute of the NCSCollectReader object- Returns:
- The description value
-
getBrandURL
Gets the brandURL attribute of the NCSCollectReader object- Returns:
- The brandURL value
-
setBrandURL
Sets the brandURL attribute of the NCSCollectReader object- Parameters:
url- The new brandURL value
-
getImageWidth
Gets the imageWidth attribute of the NCSCollectReader object- Returns:
- The imageWidth value
-
setImageWidth
Sets the imageWidth attribute of the NCSCollectReader object- Parameters:
width- The new imageWidth value
-
getImageHeight
Gets the imageHeight attribute of the NCSCollectReader object- Returns:
- The imageHeight value
-
setImageHeight
Sets the imageHeight attribute of the NCSCollectReader object- Parameters:
height- The new imageHeight value
-
getSets
Gets the sets attribute of the NCSCollectReader object- Returns:
- The sets value
-
getAltText
Gets the altText attribute of the NCSCollectReader object- Returns:
- The altText value
-
setAltText
Sets the altText attribute of the NCSCollectReader object- Parameters:
width- The new altText value
-
getContacts
Gets the contacts attribute of the NCSCollectReader object- Returns:
- The contacts value
-
setContacts
Sets the contacts attribute of the NCSCollectReader object- Parameters:
contacts- The new contacts value
-
getCollectionAgent
Gets the collectionAgent attribute of the NCSCollectReader object- Returns:
- The collectionAgent value
-
setCollectionAgent
Sets the collectionAgent attribute of the NCSCollectReader object- Parameters:
agentHandle- The new collectionAgent value
-
getApplicationAgent
Gets the applicationAgent attribute of the NCSCollectReader object- Returns:
- The applicationAgent value
-
main
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
-