public class MarkBinding extends SLDMarkBinding
<xsd:element name="Mark" type="se:MarkType">
<xsd:annotation>
<xsd:documentation>
A "Mark" specifies a geometric shape and applies coloring to it.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="MarkType">
<xsd:sequence>
<xsd:choice minOccurs="0">
<xsd:element ref="se:WellKnownName"/>
<xsd:sequence>
<xsd:choice>
<xsd:element ref="se:OnlineResource"/>
<xsd:element ref="se:InlineContent"/>
</xsd:choice>
<xsd:element ref="se:Format"/>
<xsd:element minOccurs="0" ref="se:MarkIndex"/>
</xsd:sequence>
</xsd:choice>
<xsd:element minOccurs="0" ref="se:Fill"/>
<xsd:element minOccurs="0" ref="se:Stroke"/>
</xsd:sequence>
</xsd:complexType>
filterFactory, styleFactory
Constructor and Description |
---|
MarkBinding(StyleFactory styleFactory,
FilterFactory filterFactory,
ResourceLocator resourceLocator) |
Modifier and Type | Method and Description |
---|---|
QName |
getTarget() |
Object |
parse(ElementInstance instance,
Node node,
Object value) |
getExecutionMode, getType, initialize
encode, getProperties, getProperties, getProperty, initializeChildContext
public MarkBinding(StyleFactory styleFactory, FilterFactory filterFactory, ResourceLocator resourceLocator)
public QName getTarget()
getTarget
in interface Binding
getTarget
in class SLDMarkBinding
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
parse
in interface ComplexBinding
parse
in class SLDMarkBinding
instance
- The element being parsed.node
- The node in the parse tree representing the element being parsed.value
- The result of the parse from another strategy in the type hierarchy. Could be
null if this is the first strategy being executed.Exception
- Strategy objects should not attempt to handle any exceptions.Copyright © 1996–2019 Geotools. All rights reserved.