|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.styling.SLDParser
org.geotools.styling.SLDStyle
A class to read and parse an SLD file based on verion 0.7.2 of the OGC Styled Layer Descriptor Spec.
| Field Summary |
| Fields inherited from class org.geotools.styling.SLDParser |
factory, source |
| Constructor Summary | |
SLDStyle(StyleFactory factory)
Deprecated. Create a Stylereader - use if you already have a dom to parse. |
|
SLDStyle(StyleFactory factory,
java.io.File f)
Deprecated. Creates a new SLDStyle object. |
|
SLDStyle(StyleFactory factory,
java.io.InputStream s)
Deprecated. Creates a new SLDStyle object. |
|
SLDStyle(StyleFactory factory,
java.lang.String filename)
Deprecated. Creates a new instance of SLDStyler |
|
SLDStyle(StyleFactory factory,
java.net.URL url)
Deprecated. Creates a new SLDStyle object. |
|
| Methods inherited from class org.geotools.styling.SLDParser |
parseDescriptor, parseNamedStyle, parseSLD, parseStyle, readDOM, readXML, setInput, setInput, setInput, setInput, setInput |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SLDStyle(StyleFactory factory)
factory - The StyleFactory to use to build the style
public SLDStyle(StyleFactory factory,
java.lang.String filename)
throws java.io.FileNotFoundException
factory - The StyleFactory to use to read the filefilename - The file to be read.
java.io.FileNotFoundException - - if the file is missing
public SLDStyle(StyleFactory factory,
java.io.File f)
throws java.io.FileNotFoundException
factory - The StyleFactory to use to read the filef - the File to be read
java.io.FileNotFoundException - - if the file is missing
public SLDStyle(StyleFactory factory,
java.net.URL url)
throws java.io.IOException
factory - The StyleFactory to use to read the fileurl - the URL to be read.
java.io.IOException - - if something goes wrong reading the file
public SLDStyle(StyleFactory factory,
java.io.InputStream s)
factory - The StyleFactory to use to read the files - The inputstream to be read
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||