public class Handler extends Object
Constructor and Description |
---|
Handler() |
Modifier and Type | Method and Description |
---|---|
static XmlBuilder |
getXML(SLDObject obj) |
static SLDObject |
parse(InputStream inStream,
String encoding,
String version) |
static void |
writeToFile(SLDObject obj,
File outf) |
public static SLDObject parse(InputStream inStream, String encoding, String version) throws XmlPullParserException, IOException, SLDException
XmlPullParserException
IOException
SLDException
public static void writeToFile(SLDObject obj, File outf) throws InvalidSLDObjectException, UnsupportedSLDVersionException, UnsupportedSLDObjectException, IOException
public static XmlBuilder getXML(SLDObject obj) throws InvalidSLDObjectException, UnsupportedSLDObjectException