Package CIM15 :: Package IEC61970 :: Package Informative :: Package InfGMLSupport :: Module GmlFeatureStyle' :: Class GmlFeatureStyle
[hide private]
[frames] | no frames]

Class GmlFeatureStyle

                         object --+        
                                  |        
                   Element'.Element --+    
                                      |    
Core.IdentifiedObject'.IdentifiedObject --+
                                          |
                                         GmlFeatureStyle

Used for styling a particular aspect or aspects of a feature, such as geometry, topology or arbitrary text string.Used for styling a particular aspect or aspects of a feature, such as geometry, topology or arbitrary text string.

Instance Methods [hide private]
 
__init__(self, semanticTypeIdentifier='', featureType='', version='', featureTypeName='', featureConstraint='', baseType='', queryGrammar='other', GmlGeometryStyles=None, GmlSymbols=None, GmlTobologyStyles=None, GmlLabelStyles=None, GmlFeatureTypes=None, *args, **kw_args)
Initialises a new 'GmlFeatureStyle' instance.
 
addGmlFeatureTypes(self, *GmlFeatureTypes)
 
addGmlGeometryStyles(self, *GmlGeometryStyles)
 
addGmlLabelStyles(self, *GmlLabelStyles)
 
addGmlSymbols(self, *GmlSymbols)
 
addGmlTobologyStyles(self, *GmlTobologyStyles)
 
getGmlFeatureTypes(self)
 
getGmlGeometryStyles(self)
 
getGmlLabelStyles(self)
 
getGmlSymbols(self)
 
getGmlTobologyStyles(self)
 
removeGmlFeatureTypes(self, *GmlFeatureTypes)
 
removeGmlGeometryStyles(self, *GmlGeometryStyles)
 
removeGmlLabelStyles(self, *GmlLabelStyles)
 
removeGmlSymbols(self, *GmlSymbols)
 
removeGmlTobologyStyles(self, *GmlTobologyStyles)
 
setGmlFeatureTypes(self, value)
 
setGmlGeometryStyles(self, value)
 
setGmlLabelStyles(self, value)
 
setGmlSymbols(self, value)
 
setGmlTobologyStyles(self, value)

Inherited from Core.IdentifiedObject'.IdentifiedObject: addDiagramObjects, addNames, getDiagramObjects, getModelingAuthoritySet, getNames, removeDiagramObjects, removeNames, setDiagramObjects, setModelingAuthoritySet, setNames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _attr_types = {'baseType': <type 'str'>, 'featureConstraint': ...
  _attrs = ['semanticTypeIdentifier', 'featureType', 'version', ...
  _defaults = {'baseType': '', 'featureConstraint': '', 'feature...
  _enums = {'queryGrammar': 'QueryGrammarKind'}
  _many_refs = ['GmlGeometryStyles', 'GmlSymbols', 'GmlTobologyS...
  _refs = ['GmlGeometryStyles', 'GmlSymbols', 'GmlTobologyStyles...
Properties [hide private]
  GmlFeatureTypes
  GmlGeometryStyles
  GmlLabelStyles
  GmlSymbols
  GmlTobologyStyles

Inherited from Core.IdentifiedObject'.IdentifiedObject: DiagramObjects, ModelingAuthoritySet, Names

Inherited from object: __class__

Method Details [hide private]

__init__(self, semanticTypeIdentifier='', featureType='', version='', featureTypeName='', featureConstraint='', baseType='', queryGrammar='other', GmlGeometryStyles=None, GmlSymbols=None, GmlTobologyStyles=None, GmlLabelStyles=None, GmlFeatureTypes=None, *args, **kw_args)
(Constructor)

 

Initialises a new 'GmlFeatureStyle' instance.

Parameters:
  • semanticTypeIdentifier - The SemanticTypeIdentifier is experimental in GML 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.
  • featureType - The simplest and most common way of relating features and styles is by using this attribute. Its value will be the declared name of a feature, instances of which we want to style. For example, if the featureType = Switch, this FeatureStyle object will simply apply to all Switch features.
  • version - Allows version numbers to be identified when the SLD pieces are used independently.
  • featureTypeName - Identifies the specific feature type that the feature-type style is for.
  • featureConstraint - This property is used to further constrain the feature instance set to which the style applies. It is optional and its value is an XPath expression. If the property does not exist, the style applies to all feature instances selected by 'featureType' or 'baseType'.
  • baseType - Another way of selecting the feature instances to which the style applies is to specify, as the value of this attribute, the name of the base type from which feature or features derive.
  • queryGrammar - Grammar used in the content of the gml:featureConstraint element. Values are: "other", "xpath", "xquery"
  • GmlGeometryStyles
  • GmlSymbols
  • GmlTobologyStyles
  • GmlLabelStyles
  • GmlFeatureTypes
Overrides: object.__init__

Class Variable Details [hide private]

_attr_types

Value:
{'baseType': <type 'str'>,
 'featureConstraint': <type 'str'>,
 'featureType': <type 'str'>,
 'featureTypeName': <type 'str'>,
 'queryGrammar': <type 'str'>,
 'semanticTypeIdentifier': <type 'str'>,
 'version': <type 'str'>}

_attrs

Value:
['semanticTypeIdentifier',
 'featureType',
 'version',
 'featureTypeName',
 'featureConstraint',
 'baseType',
 'queryGrammar']

_defaults

Value:
{'baseType': '',
 'featureConstraint': '',
 'featureType': '',
 'featureTypeName': '',
 'queryGrammar': 'other',
 'semanticTypeIdentifier': '',
 'version': ''}

_many_refs

Value:
['GmlGeometryStyles',
 'GmlSymbols',
 'GmlTobologyStyles',
 'GmlLabelStyles',
 'GmlFeatureTypes']

_refs

Value:
['GmlGeometryStyles',
 'GmlSymbols',
 'GmlTobologyStyles',
 'GmlLabelStyles',
 'GmlFeatureTypes']

Property Details [hide private]

GmlFeatureTypes

Get Method:
getGmlFeatureTypes(self)
Set Method:
setGmlFeatureTypes(self, value)

GmlGeometryStyles

Get Method:
getGmlGeometryStyles(self)
Set Method:
setGmlGeometryStyles(self, value)

GmlLabelStyles

Get Method:
getGmlLabelStyles(self)
Set Method:
setGmlLabelStyles(self, value)

GmlSymbols

Get Method:
getGmlSymbols(self)
Set Method:
setGmlSymbols(self, value)

GmlTobologyStyles

Get Method:
getGmlTobologyStyles(self)
Set Method:
setGmlTobologyStyles(self, value)