public class PolicyReader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
POLICY_PACKAGE |
static java.lang.String |
POLICY_SCHEMA |
Constructor and Description |
---|
PolicyReader() |
Modifier and Type | Method and Description |
---|---|
static Policy |
unmarshall(java.io.File policyXML) |
static Policy |
unmarshall(javax.xml.transform.stream.StreamSource policyXML) |
static Policy |
unmarshall(java.net.URL policyXML) |
public static final java.lang.String POLICY_PACKAGE
public static final java.lang.String POLICY_SCHEMA
public static Policy unmarshall(java.net.URL policyXML) throws org.xml.sax.SAXParseException, javax.xml.bind.JAXBException, org.xml.sax.SAXException
org.xml.sax.SAXParseException
javax.xml.bind.JAXBException
org.xml.sax.SAXException
public static Policy unmarshall(java.io.File policyXML) throws org.xml.sax.SAXParseException, javax.xml.bind.JAXBException, org.xml.sax.SAXException
org.xml.sax.SAXParseException
javax.xml.bind.JAXBException
org.xml.sax.SAXException
public static Policy unmarshall(javax.xml.transform.stream.StreamSource policyXML) throws javax.xml.bind.JAXBException, org.xml.sax.SAXException, org.xml.sax.SAXParseException
javax.xml.bind.JAXBException
org.xml.sax.SAXException
org.xml.sax.SAXParseException
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.