org.deegree.graphics.sld
Interface FeatureTypeStyle

All Known Implementing Classes:
FeatureTypeStyle_Impl

public interface FeatureTypeStyle

The FeatureTypeStyle defines the styling that is to be applied to a single feature type of a layer). This element may also be externally re-used outside of the scope of WMSes and layers.

The FeatureTypeStyle element identifies that explicit separation in SLD between the handling of layers and the handling of features of specific feature types. The layer concept is unique to WMS and SLD, but features are used more generally, such as in WFS and GML, so this explicit separation is important.

----------------------------------------------------------------------

Version:
$Revision: 1.3 $ $Date: 2004/04/27 15:40:15 $
Author:
Andreas Poth

Method Summary
 void addRule(Rule rule)
          Adds a Rule.
 void addSemanticTypeIdentifier(java.lang.String semanticTypeIdentifier)
          Adds a SemanticTypeIdentifier.
 java.lang.String getAbstract()
          human-readable information about the style
 java.lang.String getFeatureTypeName()
          returns the name of the affected feature type
 java.lang.String getName()
          The Name element does not have an explicit use at present, though it conceivably might be used to reference a feature style in some feature-style library.
 Rule[] getRules()
          Rules are used to group rendering instructions by feature-property conditions and map scales.
 java.lang.String[] getSemanticTypeIdentifier()
          The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature style is suitable to be used for using community- controlled name(s).
 java.lang.String getTitle()
          human-readable information about the style
 void removeRule(Rule rule)
          Removes a Rule.
 void removeSemanticTypeIdentifier(java.lang.String semanticTypeIdentifier)
          Removes a SemanticTypeIdentifier.
 void setAbstract(java.lang.String abstract_)
          human-readable information about the style
 void setFeatureTypeName(java.lang.String featureTypeName)
          sets the name of the affected feature type
 void setName(java.lang.String name)
          The Name element does not have an explicit use at present, though it conceivably might be used to reference a feature style in some feature-style library.
 void setRules(Rule[] rules)
          Sets the Rules.
 void setSemanticTypeIdentifier(java.lang.String[] semanticTypeIdentifiers)
          Sets the SemanticTypeIdentifiers.
 void setTitle(java.lang.String title)
          sets the </TD> </TR> </TABLE>   <P> <!-- ============ FIELD DETAIL =========== --> <!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="getName()"><!-- --></A><H3> getName</H3> <PRE> public java.lang.String <B>getName</B>()</PRE> <DL> <DD>The Name element does not have an explicit use at present, though it conceivably might be used to reference a feature style in some feature-style library. <P> <DD><DL> <DT><B>Returns:</B><DD>name</DL> </DD> </DL> <HR> <A NAME="setName(java.lang.String)"><!-- --></A><H3> setName</H3> <PRE> public void <B>setName</B>(java.lang.String name)</PRE> <DL> <DD>The Name element does not have an explicit use at present, though it conceivably might be used to reference a feature style in some feature-style library. Sets the <Name> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name</DL> </DD> </DL> <HR> <A NAME="getTitle()"><!-- --></A><H3> getTitle</H3> <PRE> public java.lang.String <B>getTitle</B>()</PRE> <DL> <DD>human-readable information about the style <P> <DD><DL> <DT><B>Returns:</B><DD>the title of the FeatureTypeStyle</DL> </DD> </DL> <HR> <A NAME="setTitle(java.lang.String)"><!-- --></A><H3> setTitle</H3> <PRE> public void <B>setTitle</B>(java.lang.String title)</PRE> <DL> <DD>sets the <Title> <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>title</CODE> - the title of the FeatureTypeStyle</DL> </DD> </DL> <HR> <A NAME="getAbstract()"><!-- --></A><H3> getAbstract</H3> <PRE> public java.lang.String <B>getAbstract</B>()</PRE> <DL> <DD>human-readable information about the style <P> <DD><DL> <DT><B>Returns:</B><DD>an abstract of the FeatureTypeStyle</DL> </DD> </DL> <HR> <A NAME="setAbstract(java.lang.String)"><!-- --></A><H3> setAbstract</H3> <PRE> public void <B>setAbstract</B>(java.lang.String abstract_)</PRE> <DL> <DD>human-readable information about the style <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>abstract_</CODE> - an abstract of the FeatureTypeStyle</DL> </DD> </DL> <HR> <A NAME="getFeatureTypeName()"><!-- --></A><H3> getFeatureTypeName</H3> <PRE> public java.lang.String <B>getFeatureTypeName</B>()</PRE> <DL> <DD>returns the name of the affected feature type <P> <DD><DL> <DT><B>Returns:</B><DD>the name of the FeatureTypeStyle as String</DL> </DD> </DL> <HR> <A NAME="setFeatureTypeName(java.lang.String)"><!-- --></A><H3> setFeatureTypeName</H3> <PRE> public void <B>setFeatureTypeName</B>(java.lang.String featureTypeName)</PRE> <DL> <DD>sets the name of the affected feature type <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>featureTypeName</CODE> - the name of the FeatureTypeStyle</DL> </DD> </DL> <HR> <A NAME="getSemanticTypeIdentifier()"><!-- --></A><H3> getSemanticTypeIdentifier</H3> <PRE> public java.lang.String[] <B>getSemanticTypeIdentifier</B>()</PRE> <DL> <DD>The SemanticTypeIdentifier is experimental and is intended to be used to identify what the feature style is suitable to be used for using community- controlled name(s). For example, a single style may be suitable to use with many different feature types. The syntax of the SemanticTypeIdentifier string is undefined, but the strings generic:line, generic:polygon, generic:point, generic:text, generic:raster, and generic:any are reserved to indicate that a FeatureTypeStyle may be used with any feature type with the corresponding default geometry type (i.e., no feature properties are referenced in the feature-type style). <P> <DD><DL> <DT><B>Returns:</B><DD>the SemanticTypeIdentifiers from the FeatureTypeStyle as String-Array</DL> </DD> </DL> <HR> <A NAME="setSemanticTypeIdentifier(java.lang.String[])"><!-- --></A><H3> setSemanticTypeIdentifier</H3> <PRE> public void <B>setSemanticTypeIdentifier</B>(java.lang.String[] semanticTypeIdentifiers)</PRE> <DL> <DD>Sets the SemanticTypeIdentifiers. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>semanticTypeIdentifiers</CODE> - SemanticTypeIdentifiers for the FeatureTypeStyle</DL> </DD> </DL> <HR> <A NAME="addSemanticTypeIdentifier(java.lang.String)"><!-- --></A><H3> addSemanticTypeIdentifier</H3> <PRE> public void <B>addSemanticTypeIdentifier</B>(java.lang.String semanticTypeIdentifier)</PRE> <DL> <DD>Adds a SemanticTypeIdentifier. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>semanticTypeIdentifier</CODE> - SemanticTypeIdentifier to add</DL> </DD> </DL> <HR> <A NAME="removeSemanticTypeIdentifier(java.lang.String)"><!-- --></A><H3> removeSemanticTypeIdentifier</H3> <PRE> public void <B>removeSemanticTypeIdentifier</B>(java.lang.String semanticTypeIdentifier)</PRE> <DL> <DD>Removes a SemanticTypeIdentifier. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>semanticTypeIdentifier</CODE> - SemanticTypeIdentifier to remove</DL> </DD> </DL> <HR> <A NAME="getRules()"><!-- --></A><H3> getRules</H3> <PRE> public <A HREF="../../../../org/deegree/graphics/sld/Rule.html" title="interface in org.deegree.graphics.sld">Rule</A>[] <B>getRules</B>()</PRE> <DL> <DD>Rules are used to group rendering instructions by feature-property conditions and map scales. Rule definitions are placed immediately inside of feature-style definitions. <P> <DD><DL> <DT><B>Returns:</B><DD>the rules of the FeatureTypeStyle as Array</DL> </DD> </DL> <HR> <A NAME="setRules(org.deegree.graphics.sld.Rule[])"><!-- --></A><H3> setRules</H3> <PRE> public void <B>setRules</B>(<A HREF="../../../../org/deegree/graphics/sld/Rule.html" title="interface in org.deegree.graphics.sld">Rule</A>[] rules)</PRE> <DL> <DD>Sets the Rules. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>rules</CODE> - the rules of the FeatureTypeStyle as Array</DL> </DD> </DL> <HR> <A NAME="addRule(org.deegree.graphics.sld.Rule)"><!-- --></A><H3> addRule</H3> <PRE> public void <B>addRule</B>(<A HREF="../../../../org/deegree/graphics/sld/Rule.html" title="interface in org.deegree.graphics.sld">Rule</A> rule)</PRE> <DL> <DD>Adds a Rule. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>rule</CODE> - a rule</DL> </DD> </DL> <HR> <A NAME="removeRule(org.deegree.graphics.sld.Rule)"><!-- --></A><H3> removeRule</H3> <PRE> public void <B>removeRule</B>(<A HREF="../../../../org/deegree/graphics/sld/Rule.html" title="interface in org.deegree.graphics.sld">Rule</A> rule)</PRE> <DL> <DD>Removes a Rule. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>rule</CODE> - a rule</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev">  <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/FeatureTypeStyle.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../org/deegree/graphics/sld/FeatureTypeConstraint.html" title="interface in org.deegree.graphics.sld"><B>PREV CLASS</B></A>   <A HREF="../../../../org/deegree/graphics/sld/Fill.html" title="interface in org.deegree.graphics.sld"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>    <A HREF="FeatureTypeStyle.html" target="_top"><B>NO FRAMES</B></A>    <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>