Package org.geotools.api.style
Interface UserLayer
-
- All Superinterfaces:
StyledLayer
- All Known Implementing Classes:
UserLayerImpl
public interface UserLayer extends StyledLayer
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(StyleVisitor visitor)
Used to navigate a Style/SLD.void
addUserStyle(Style style)
Object
getInlineFeatureDatastore()
This Object must be a DataStore, but the interface can't see that from here!SimpleFeatureType
getInlineFeatureType()
FeatureTypeConstraint[]
getLayerFeatureConstraints()
RemoteOWS
getRemoteOWS()
Style[]
getUserStyles()
List<FeatureTypeConstraint>
layerFeatureConstraints()
void
setInlineFeatureDatastore(Object store)
DataStore used to hold parsed feature collection content for use during renderingvoid
setInlineFeatureType(SimpleFeatureType ft)
void
setLayerFeatureConstraints(FeatureTypeConstraint... constraints)
void
setRemoteOWS(RemoteOWS service)
void
setUserStyles(Style... styles)
List<Style>
userStyles()
-
Methods inherited from interface StyledLayer
getName, setName
-
-
-
-
Method Detail
-
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
void setInlineFeatureDatastore(Object store)
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
void setInlineFeatureType(SimpleFeatureType ft)
-
setRemoteOWS
void setRemoteOWS(RemoteOWS service)
-
layerFeatureConstraints
List<FeatureTypeConstraint> layerFeatureConstraints()
-
getLayerFeatureConstraints
FeatureTypeConstraint[] getLayerFeatureConstraints()
-
setLayerFeatureConstraints
void setLayerFeatureConstraints(FeatureTypeConstraint... constraints)
-
getUserStyles
Style[] getUserStyles()
-
setUserStyles
void setUserStyles(Style... styles)
-
addUserStyle
void addUserStyle(Style style)
-
accept
void accept(StyleVisitor visitor)
Used to navigate a Style/SLD.
-
-