org.deegree_impl.graphics.sld
Class LayerFeatureConstraints_Impl

java.lang.Object
  extended byorg.deegree_impl.graphics.sld.LayerFeatureConstraints_Impl
All Implemented Interfaces:
LayerFeatureConstraints, Marshallable

public class LayerFeatureConstraints_Impl
extends java.lang.Object
implements LayerFeatureConstraints, Marshallable

The LayerFeatureConstraints element is optional in a NamedLayer and allows the user to specify constraints on what features of what feature types are to be selected by the named-layer reference. It is essentially a filter that allows the selection of fewer features than are present in the named layer.

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

Version:
$Revision: 1.7 $ $Date: 2004/02/23 09:08:02 $
Author:
Katharina Lupp

Field Summary
private  java.util.ArrayList featureTypeConstraint
           
 
Constructor Summary
(package private) LayerFeatureConstraints_Impl(FeatureTypeConstraint[] featureTypeConstraint)
          constructor initializing the class with the
 
Method Summary
 void addFeatureTypeConstraint(FeatureTypeConstraint featureTypeConstraint)
          adds the
 java.lang.String exportAsXML()
          exports the content of the Font as XML formated String
 FeatureTypeConstraint[] getFeatureTypeConstraint()
          A FeatureTypeConstraint element is used to identify a feature type by a well-known name, using the FeatureTypeName element.
 void removeFeatureTypeConstraint(FeatureTypeConstraint featureTypeConstraint)
          Removes a FeatureTypeConstraint.
 void setFeatureTypeConstraint(FeatureTypeConstraint[] featureTypeConstraint)
          sets the
 java.lang.String toString()
          returns the LayerFeatureConstraints as String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

featureTypeConstraint

private java.util.ArrayList featureTypeConstraint
Constructor Detail

LayerFeatureConstraints_Impl

LayerFeatureConstraints_Impl(FeatureTypeConstraint[] featureTypeConstraint)
constructor initializing the class with the

Method Detail

getFeatureTypeConstraint

public FeatureTypeConstraint[] getFeatureTypeConstraint()
A FeatureTypeConstraint element is used to identify a feature type by a well-known name, using the FeatureTypeName element.

Specified by:
getFeatureTypeConstraint in interface LayerFeatureConstraints
Returns:
the FeatureTypeConstraints as Array

setFeatureTypeConstraint

public void setFeatureTypeConstraint(FeatureTypeConstraint[] featureTypeConstraint)
sets the

Specified by:
setFeatureTypeConstraint in interface LayerFeatureConstraints
Parameters:
featureTypeConstraint - the

addFeatureTypeConstraint

public void addFeatureTypeConstraint(FeatureTypeConstraint featureTypeConstraint)
adds the

Specified by:
addFeatureTypeConstraint in interface LayerFeatureConstraints
Parameters:
featureTypeConstraint - the

removeFeatureTypeConstraint

public void removeFeatureTypeConstraint(FeatureTypeConstraint featureTypeConstraint)
Removes a FeatureTypeConstraint.

Specified by:
removeFeatureTypeConstraint in interface LayerFeatureConstraints
Parameters:
featureTypeConstraint - the

toString

public java.lang.String toString()
returns the LayerFeatureConstraints as String.

Returns:
the LayerFeatureConstraints as String

exportAsXML

public java.lang.String exportAsXML()
exports the content of the Font as XML formated String

Specified by:
exportAsXML in interface Marshallable
Returns:
xml representation of the Font