public class ParameterComponent extends Object
Constructor and Description |
---|
ParameterComponent() |
Modifier and Type | Method and Description |
---|---|
void |
marshall() |
void |
marshall(String filename) |
void |
marshall(StringWriter w) |
static Parameters |
unmarshall(File file)
Unmarshal XML data from the specified Parameters file.
|
static Parameters |
unmarshall(File file,
Schema xsdSchema)
Validate and Unmarshal XML data from the specified Parameters file.
|
static Parameters |
unmarshall(String inputXML)
Unmarshal data from XML text.
|
static Parameters |
unmarshall(String inputXML,
Schema xsdSchema)
Validate and Unmarshal data from XML text.
|
public void marshall()
public void marshall(String filename)
public void marshall(StringWriter w)
public static Parameters unmarshall(File file) throws Exception
XML
- data fileException
public static Parameters unmarshall(File file, Schema xsdSchema) throws Exception
XML
- data filexsdSchema
- Exception
public static Parameters unmarshall(String inputXML) throws Exception
inputXML
- Exception
public static Parameters unmarshall(String inputXML, Schema xsdSchema) throws Exception
inputXML
- xsdSchema
- Exception
Copyright © 2016 Laboratoire COGIT, IGN. All rights reserved.