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