gov.nasa.pds.harvest.policy
Class PolicyReader

java.lang.Object
  extended by gov.nasa.pds.harvest.policy.PolicyReader

public class PolicyReader
extends Object


Field Summary
static String POLICY_PACKAGE
           
static String POLICY_SCHEMA
           
 
Constructor Summary
PolicyReader()
           
 
Method Summary
static Policy unmarshall(File policyXML)
           
static Policy unmarshall(InputStream policyXML)
           
static Policy unmarshall(StreamSource policyXML)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POLICY_PACKAGE

public static final String POLICY_PACKAGE
See Also:
Constant Field Values

POLICY_SCHEMA

public static final String POLICY_SCHEMA
See Also:
Constant Field Values
Constructor Detail

PolicyReader

public PolicyReader()
Method Detail

unmarshall

public static Policy unmarshall(InputStream policyXML)
                         throws SAXParseException,
                                JAXBException,
                                SAXException
Throws:
SAXParseException
JAXBException
SAXException

unmarshall

public static Policy unmarshall(File policyXML)
                         throws SAXParseException,
                                JAXBException,
                                SAXException
Throws:
SAXParseException
JAXBException
SAXException

unmarshall

public static Policy unmarshall(StreamSource policyXML)
                         throws JAXBException,
                                SAXException,
                                SAXParseException
Throws:
JAXBException
SAXException
SAXParseException


Copyright © 2010-2012 Planetary Data System. All Rights Reserved.