gov.nasa.pds.harvest.pdap.policy
Class PolicyReader

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

public class PolicyReader
extends Object


Field Summary
static String POLICY_PACKAGE
           
static String POLICY_SCHEMA
           
 
Constructor Summary
PolicyReader()
           
 
Method Summary
 Policy unmarshall(File policyXML, boolean validate)
           
 Policy unmarshall(InputStream policyXML, boolean validate)
           
 Policy unmarshall(StreamSource policyXML, boolean validate)
           
 
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()
             throws JAXBException,
                    SAXException,
                    SAXParseException
Throws:
JAXBException
SAXException
SAXParseException
Method Detail

unmarshall

public Policy unmarshall(InputStream policyXML,
                         boolean validate)
                  throws JAXBException
Throws:
JAXBException

unmarshall

public Policy unmarshall(File policyXML,
                         boolean validate)
                  throws JAXBException
Throws:
JAXBException

unmarshall

public Policy unmarshall(StreamSource policyXML,
                         boolean validate)
                  throws JAXBException
Throws:
JAXBException


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