public class DomConverterRegistry extends Object
Constructor and Description |
---|
DomConverterRegistry() |
Modifier and Type | Method and Description |
---|---|
DomConverter |
getConverter(Class<?> type)
Gets the converter registered with the given type.
|
static DomConverterRegistry |
getInstance()
Gets the singleton instance of the registry.
|
void |
setDomConverter(Class<?> type,
DomConverter converter)
Sets the converter to be used for the specified type.
|
public static DomConverterRegistry getInstance()
public void setDomConverter(Class<?> type, DomConverter converter)
type
- The type.converter
- The converter.public DomConverter getConverter(Class<?> type)
type
- The type.null
if no such converter exists.Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.