[Schmitzm-commits] r911 - branches/2.2.x/src/schmitzm/geotools/styling

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Jun 21 00:11:28 CEST 2010


Author: alfonx
Date: 2010-06-21 00:11:28 +0200 (Mon, 21 Jun 2010)
New Revision: 911

Modified:
   branches/2.2.x/src/schmitzm/geotools/styling/StylingUtil.java
Log:
Changed and documented the StyleingUtil.toXMLString method.

Modified: branches/2.2.x/src/schmitzm/geotools/styling/StylingUtil.java
===================================================================
--- branches/2.2.x/src/schmitzm/geotools/styling/StylingUtil.java	2010-06-20 22:08:39 UTC (rev 910)
+++ branches/2.2.x/src/schmitzm/geotools/styling/StylingUtil.java	2010-06-20 22:11:28 UTC (rev 911)
@@ -2928,7 +2928,12 @@
 		}
 	}
 
-	public static String toXMLString(StyledLayerDescriptor sld)
+	/**
+	 * Converts a {@link StyledLayerDescriptor} or any of it's subcomponents to XML
+	 * 
+	 * @throws TransformerException
+	 */
+	public static String toXMLString(Object sld)
 			throws TransformerException {
 		return SLDTRANSFORMER.transform(sld);
 	}



More information about the Schmitzm-commits mailing list