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
JAXBException
public Policy unmarshall(File policyXML, boolean validate) throws JAXBException
JAXBException
public Policy unmarshall(StreamSource policyXML, boolean validate) throws JAXBException
JAXBException
Copyright © 2010–2017 Planetary Data System. All rights reserved.