org.geotools.styling
Interface UserLayer

All Superinterfaces:
GTComponent, 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
 void accept(StyleVisitor visitor)
          Used to navigate a Style/SLD.
 void addUserStyle(Style style)
           
 DataStore getInlineFeatureDatastore()
           
 FeatureType getInlineFeatureType()
           
 FeatureTypeConstraint[] getLayerFeatureConstraints()
           
 RemoteOWS getRemoteOWS()
           
 Style[] getUserStyles()
           
 void setInlineFeatureDatastore(DataStore store)
           
 void setInlineFeatureType(FeatureType ft)
           
 void setLayerFeatureConstraints(FeatureTypeConstraint[] constraints)
           
 void setRemoteOWS(RemoteOWS service)
           
 void setUserStyles(Style[] styles)
           
 
Methods inherited from interface org.geotools.styling.StyledLayer
getName, setName
 
Methods inherited from interface org.geotools.event.GTComponent
changed, getNote, getParent, removed, setNote
 

Method Detail

getRemoteOWS

public RemoteOWS getRemoteOWS()

getInlineFeatureDatastore

public DataStore getInlineFeatureDatastore()

getInlineFeatureType

public FeatureType getInlineFeatureType()

setInlineFeatureDatastore

public void setInlineFeatureDatastore(DataStore store)

setInlineFeatureType

public void setInlineFeatureType(FeatureType ft)

setRemoteOWS

public void setRemoteOWS(RemoteOWS service)

getLayerFeatureConstraints

public FeatureTypeConstraint[] getLayerFeatureConstraints()

setLayerFeatureConstraints

public void setLayerFeatureConstraints(FeatureTypeConstraint[] constraints)

getUserStyles

public Style[] getUserStyles()

setUserStyles

public void setUserStyles(Style[] styles)

addUserStyle

public void addUserStyle(Style style)

accept

public void accept(StyleVisitor visitor)
Used to navigate a Style/SLD.

Parameters:
visitor -


Copyright © GeoTools. All Rights Reserved.