X - The JAXB type of the root element.public class JAXBUnmarshaller<X> extends Object
| Constructor and Description |
|---|
JAXBUnmarshaller(Class<X> rootElementType)
Constructor.
|
JAXBUnmarshaller(Class<X> rootElementType,
Map<String,String> namespaceMapping)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
X |
unmarshal(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource item) |
public JAXBUnmarshaller(Class<X> rootElementType)
rootElementType - The expected root element type.public JAXBUnmarshaller(Class<X> rootElementType, Map<String,String> namespaceMapping)
rootElementType - The expected root element type.namespaceMapping - The namespace mappings. The key namespaces contained in the
map will be replaced their values while reading documents.public X unmarshal(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource item) throws IOException
IOExceptionCopyright © 2016 buschmais GbR. All rights reserved.