public class ModelReader<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ModelReader.NamespaceFiller |
Modifier and Type | Field and Description |
---|---|
static org.apache.logging.log4j.Logger |
log |
static String |
NEURORD_NS |
Constructor and Description |
---|
ModelReader(Class<T> klass) |
Modifier and Type | Method and Description |
---|---|
Marshaller |
getMarshaller(T object) |
static void |
main(String... args) |
String |
marshall(T object) |
void |
marshall(T object,
OutputStream out) |
void |
marshall(T object,
String filename) |
void |
marshall(T object,
Writer out) |
protected HashMap<String,String> |
propertyOverrides() |
T |
unmarshall(File filename,
HashMap<String,String> extra_overrides) |
protected T |
unmarshall(File filename,
InputSource xml,
HashMap<String,String> extra_overrides) |
T |
unmarshall(String xml,
HashMap<String,String> extra_overrides) |
public static final org.apache.logging.log4j.Logger log
public static final String NEURORD_NS
protected T unmarshall(File filename, InputSource xml, HashMap<String,String> extra_overrides) throws Exception
Exception
public T unmarshall(File filename, HashMap<String,String> extra_overrides) throws Exception
Exception
public T unmarshall(String xml, HashMap<String,String> extra_overrides) throws Exception
Exception
public Marshaller getMarshaller(T object) throws Exception
Exception
public void marshall(T object, OutputStream out) throws Exception
Exception
Copyright © 2019. All rights reserved.