public class WebMapContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
_abstract |
java.lang.String |
address |
java.awt.geom.Rectangle2D |
bBox |
java.lang.String |
city |
boolean |
contactInfo |
java.lang.String |
contactOrganization |
java.lang.String |
contactPerson |
java.lang.String |
contactPosition |
java.lang.String |
country |
java.lang.String |
descriptionURL |
java.lang.String |
descriptionURLFormat |
java.lang.String |
email |
static java.util.ArrayList<java.lang.String> |
exportVersions |
java.lang.String |
fax |
static java.lang.String |
FILE_EXTENSION |
java.lang.String |
fileVersion |
java.lang.String |
id |
java.util.List<java.lang.String> |
keywordList |
java.lang.String |
logoURL |
java.lang.String |
logoURLFormat |
java.awt.Dimension |
logoURLSize |
java.lang.String |
postCode |
java.lang.String |
srs |
java.lang.String |
stateOrProvince |
java.lang.String |
telephone |
java.lang.String |
title |
java.awt.Dimension |
windowSize |
java.lang.String |
xmlns |
java.lang.String |
xmlns_xlink |
java.lang.String |
xmlns_xsi |
java.lang.String |
xsi_schemaLocation |
Constructor and Description |
---|
WebMapContext() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsExportableLayers(FLayer layer)
Searches in the layer tree of the TOC for an ocurrence of any
exportable layer and returns true if so, or false otherwise.
|
static java.util.ArrayList |
getExportableLayers(DefaultViewDocument v) |
void |
readFile(java.io.File file)
Initializes the WebMapContext properties from the values in the WebMapContext (.cml)
file passed in the argument.
|
java.lang.String |
toXML(DefaultViewDocument v)
Exports the ProjectView passed as parameter to Web Map Context XML compliant
with the defined specifications for the version set in the fileVersion field.
|
public static final java.lang.String FILE_EXTENSION
public static final java.util.ArrayList<java.lang.String> exportVersions
public java.lang.String fileVersion
public java.awt.Dimension windowSize
public java.lang.String srs
public java.awt.geom.Rectangle2D bBox
public java.lang.String title
public java.lang.String id
public java.lang.String xmlns
public java.lang.String xmlns_xlink
public java.lang.String xmlns_xsi
public java.lang.String xsi_schemaLocation
public java.lang.String _abstract
public java.util.List<java.lang.String> keywordList
public java.awt.Dimension logoURLSize
public java.lang.String logoURLFormat
public java.lang.String logoURL
public java.lang.String descriptionURLFormat
public java.lang.String descriptionURL
public boolean contactInfo
public java.lang.String contactPerson
public java.lang.String contactOrganization
public java.lang.String contactPosition
public java.lang.String address
public java.lang.String city
public java.lang.String stateOrProvince
public java.lang.String postCode
public java.lang.String country
public java.lang.String telephone
public java.lang.String fax
public java.lang.String email
public void readFile(java.io.File file) throws UnsupportedVersionLayerException, ImportMapContextException
file
- UnsupportedVersionLayerException
ImportMapContextException
public java.lang.String toXML(DefaultViewDocument v)
DefaultViewDocument
- to be exportedpublic static java.util.ArrayList getExportableLayers(DefaultViewDocument v)
public static boolean containsExportableLayers(FLayer layer)
layer
-