public class SLDLinePlacementBinding extends AbstractComplexBinding
<xsd:element name="LinePlacement">
<xsd:annotation>
<xsd:documentation> A "LinePlacement"
specifies how a text label should be rendered
relative to a linear geometry. </xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="sld:PerpendicularOffset" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
Constructor and Description |
---|
SLDLinePlacementBinding(StyleFactory styleFactory) |
Modifier and Type | Method and Description |
---|---|
int |
getExecutionMode() |
QName |
getTarget() |
Class |
getType() |
Object |
parse(ElementInstance instance,
Node node,
Object value) |
encode, getProperties, getProperties, getProperty, initialize, initializeChildContext
public SLDLinePlacementBinding(StyleFactory styleFactory)
public QName getTarget()
public int getExecutionMode()
getExecutionMode
in interface Binding
getExecutionMode
in class AbstractComplexBinding
Binding.AFTER
,
Binding.BEFORE
,
Binding.OVERRIDE
public Class getType()
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
parse
in interface ComplexBinding
parse
in class AbstractComplexBinding
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.