Class NCSCollectReader

java.lang.Object
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 Details

    • doc

      public org.dom4j.Document doc
      NOT YET DOCUMENTED
    • collectionAgentPath

      public static String 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

      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 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

      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