public class ExternalGraphicBinding extends SLDExternalGraphicBinding
<xsd:element name="ExternalGraphic" type="se:ExternalGraphicType">
<xsd:annotation>
<xsd:documentation>
An "ExternalGraphic" gives a reference to a raster or vector
graphical object, either online or inline, in an externally-defined
graphic format.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="ExternalGraphicType">
<xsd:sequence>
<xsd:choice>
<xsd:element ref="se:OnlineResource"/>
<xsd:element ref="se:InlineContent"/>
</xsd:choice>
<xsd:element ref="se:Format"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="se:ColorReplacement"/>
</xsd:sequence>
</xsd:complexType>
styleFactory
Constructor and Description |
---|
ExternalGraphicBinding(StyleFactory styleFactory) |
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 ExternalGraphicBinding(StyleFactory styleFactory)
public QName getTarget()
getTarget
in interface Binding
getTarget
in class SLDExternalGraphicBinding
public Object parse(ElementInstance instance, Node node, Object value) throws Exception
parse
in interface ComplexBinding
parse
in class SLDExternalGraphicBinding
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.