From 8493281dff4676cb191ea362f87ce1be987e2e44 Mon Sep 17 00:00:00 2001 From: tkellner Date: Thu, 8 Sep 2011 09:52:31 +0000 Subject: Comment SLUnmarshaller changes, adapt tests git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@981 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- utils/src/main/java/at/gv/egiz/slbinding/SLUnmarshaller.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'utils/src/main/java/at/gv/egiz/slbinding') diff --git a/utils/src/main/java/at/gv/egiz/slbinding/SLUnmarshaller.java b/utils/src/main/java/at/gv/egiz/slbinding/SLUnmarshaller.java index c69fd681..518723d8 100644 --- a/utils/src/main/java/at/gv/egiz/slbinding/SLUnmarshaller.java +++ b/utils/src/main/java/at/gv/egiz/slbinding/SLUnmarshaller.java @@ -228,7 +228,13 @@ public class SLUnmarshaller { this.jaxbContext = createJAXBContext(packageNames); } - public Object unmarshal(StreamSource source) throws XMLStreamException, JAXBException { + /** + * @param source a StreamSource wrapping a Reader (!) for the marshalled Object + * @return the unmarshalled Object + * @throws XMLStreamException + * @throws JAXBException + */ +public Object unmarshal(StreamSource source) throws XMLStreamException, JAXBException { ReportingValidationEventHandler validationEventHandler = new ReportingValidationEventHandler(); XMLInputFactory inputFactory = XMLInputFactory.newInstance(); -- cgit v1.2.3