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 TypeMethodDescriptionvoidaccept(StyleVisitor visitor) Used to navigate a Style/SLD.voidaddUserStyle(Style style) This Object must be a DataStore, but the interface can't see that from here!Style[]voidsetInlineFeatureDatastore(Object store) DataStore used to hold parsed feature collection content for use during renderingvoidvoidsetLayerFeatureConstraints(FeatureTypeConstraint... constraints) voidsetRemoteOWS(RemoteOWS service) voidsetUserStyles(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.
-