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>
resourceLocator, styleFactory| Constructor and Description |
|---|
ExternalGraphicBinding(StyleFactory styleFactory,
ResourceLocator resourceLocator) |
| Modifier and Type | Method and Description |
|---|---|
QName |
getTarget() |
Object |
parse(ElementInstance instance,
Node node,
Object value) |
getExecutionMode, getType, initializeencode, getProperties, getProperty, initializeChildContextpublic ExternalGraphicBinding(StyleFactory styleFactory, ResourceLocator resourceLocator)
public QName getTarget()
getTarget in interface BindinggetTarget in class SLDExternalGraphicBindingpublic Object parse(ElementInstance instance, Node node, Object value) throws Exception
parse in interface ComplexBindingparse in class SLDExternalGraphicBindinginstance - 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–2021 Geotools. All rights reserved.