public class PolicyReader extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
POLICY_PACKAGE |
static String |
POLICY_SCHEMA |
| Constructor and Description |
|---|
PolicyReader() |
| Modifier and Type | Method and Description |
|---|---|
Policy |
unmarshall(File policyXML,
boolean validate) |
Policy |
unmarshall(InputStream policyXML,
boolean validate) |
Policy |
unmarshall(StreamSource policyXML,
boolean validate) |
public static final String POLICY_PACKAGE
public static final String POLICY_SCHEMA
public PolicyReader()
throws JAXBException,
SAXException,
SAXParseException
public Policy unmarshall(InputStream policyXML, boolean validate) throws JAXBException
JAXBExceptionpublic Policy unmarshall(File policyXML, boolean validate) throws JAXBException
JAXBExceptionpublic Policy unmarshall(StreamSource policyXML, boolean validate) throws JAXBException
JAXBExceptionCopyright © 2010–2016 Planetary Data System. All rights reserved.