|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.wadl.internal.WadlUtils
public class WadlUtils
Utils for wadl processing.
| Constructor Summary | |
|---|---|
WadlUtils()
|
|
| Method Summary | ||
|---|---|---|
static
|
unmarshall(java.io.InputStream inputStream,
javax.xml.parsers.SAXParserFactory saxParserFactory,
java.lang.Class<T> resultClass)
Unmarshal a jaxb bean into a type of resultClass from the given inputStream. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WadlUtils()
| Method Detail |
|---|
public static <T> T unmarshall(java.io.InputStream inputStream,
javax.xml.parsers.SAXParserFactory saxParserFactory,
java.lang.Class<T> resultClass)
throws javax.xml.bind.JAXBException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
resultClass from the given inputStream.
T - Type of the result jaxb bean.inputStream - Input stream that contains input xml that should be processed.saxParserFactory - Sax parser factory for unmarshalling xml.resultClass - Class of the result bean into which the content of inputStream should be unmarshalled.
javax.xml.bind.JAXBException - In case of jaxb problem.
javax.xml.parsers.ParserConfigurationException - In case of problem with parsing xml.
org.xml.sax.SAXException - In case of problem with parsing xml.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||