Class PolicyReader
- java.lang.Object
- 
- gov.nasa.pds.harvest.search.policy.PolicyReader
 
- 
 public class PolicyReader extends Object Class to read the Harvest Policy file.- Author:
- mcayanan
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringPOLICY_PACKAGEstatic StringPOLICY_SCHEMA
 - 
Constructor SummaryConstructors Constructor Description PolicyReader()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Policyunmarshall(File policyXML)static Policyunmarshall(URL policyXML)static Policyunmarshall(StreamSource policyXML)
 
- 
- 
- 
Field Detail- 
POLICY_PACKAGEpublic static final String POLICY_PACKAGE - See Also:
- Constant Field Values
 
 - 
POLICY_SCHEMApublic static final String POLICY_SCHEMA - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
unmarshallpublic static Policy unmarshall(URL policyXML) throws SAXParseException, JAXBException, SAXException 
 - 
unmarshallpublic static Policy unmarshall(File policyXML) throws SAXParseException, JAXBException, SAXException 
 - 
unmarshallpublic static Policy unmarshall(StreamSource policyXML) throws JAXBException, SAXException, SAXParseException 
 
- 
 
-