Package org.geotools.api.style
Interface UserLayer
- All Superinterfaces:
StyledLayer
- All Known Implementing Classes:
UserLayerImpl
A UserLayer allows a user-defined layer to be built from WFS and WCS data.
The details of this object are taken from the OGC Styled-Layer Descriptor Report (OGC 02-070) version 1.0.0.:
<xsd:element name="UserLayer">
<xsd:annotation>
<xsd:documentation>
A UserLayer allows a user-defined layer to be built from WFS and
WCS data.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="sld:Name" minOccurs="0"/>
<xsd:element ref="sld:RemoteOWS" minOccurs="0"/>
<xsd:element ref="sld:LayerFeatureConstraints"/>
<xsd:element ref="sld:UserStyle" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(StyleVisitor visitor) Used to navigate a Style/SLD.void
addUserStyle
(Style style) This Object must be a DataStore, but the interface can't see that from here!Style[]
void
setInlineFeatureDatastore
(Object store) DataStore used to hold parsed feature collection content for use during renderingvoid
void
setLayerFeatureConstraints
(FeatureTypeConstraint... constraints) void
setRemoteOWS
(RemoteOWS service) void
setUserStyles
(Style... styles) Methods inherited from interface StyledLayer
getName, setName
-
Method Details
-
getRemoteOWS
RemoteOWS getRemoteOWS() -
getInlineFeatureDatastore
Object getInlineFeatureDatastore()This Object must be a DataStore, but the interface can't see that from here!- Returns:
-
getInlineFeatureType
SimpleFeatureType getInlineFeatureType() -
setInlineFeatureDatastore
DataStore used to hold parsed feature collection content for use during rendering* This Object must be a DataStore, but the interface can't see that from here!
- Parameters:
store
-
-
setInlineFeatureType
-
setRemoteOWS
-
layerFeatureConstraints
List<FeatureTypeConstraint> layerFeatureConstraints() -
getLayerFeatureConstraints
FeatureTypeConstraint[] getLayerFeatureConstraints() -
setLayerFeatureConstraints
-
userStyles
-
getUserStyles
Style[] getUserStyles() -
setUserStyles
-
addUserStyle
-
accept
Used to navigate a Style/SLD.
-