public class Label
extends java.lang.Object
Java class for Label complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Label">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="align" type="{http://www.mapserver.org/mapserver}alignEnum" minOccurs="0"/>
<element name="angle" minOccurs="0">
<simpleType>
<union memberTypes=" {http://www.mapserver.org/mapserver}angleType {http://www.mapserver.org/mapserver}attributeType">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<pattern value="[aA][uU][tT][oO]|[fF][oO][lL][lL][oO][wW]|[aA][uU][tT][oO]2"/>
</restriction>
</simpleType>
</union>
</simpleType>
</element>
<element name="antialias" type="{http://www.mapserver.org/mapserver}booleanEnum" minOccurs="0"/>
<element name="buffer" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<choice minOccurs="0">
<element name="color" type="{http://www.mapserver.org/mapserver}rgbColorType"/>
<element name="colorAttribute" type="{http://www.mapserver.org/mapserver}attributeType"/>
</choice>
<element name="encoding" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
<element name="font" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="force" type="{http://www.mapserver.org/mapserver}booleanEnum" minOccurs="0"/>
<element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="maxOverlapAngle" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
<element name="maxSize" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="minDistance" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="minFeatureSize" minOccurs="0">
<simpleType>
<union memberTypes=" {http://www.w3.org/2001/XMLSchema}integer">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="AUTO"/>
</restriction>
</simpleType>
</union>
</simpleType>
</element>
<element name="minSize" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="offset" type="{http://www.mapserver.org/mapserver}sizeType" minOccurs="0"/>
<choice minOccurs="0">
<element name="outlineColor" type="{http://www.mapserver.org/mapserver}rgbColorType"/>
<element name="outlineColorAttribute" type="{http://www.mapserver.org/mapserver}attributeType"/>
</choice>
<element name="outlineWidth" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="partials" type="{http://www.mapserver.org/mapserver}booleanEnum" minOccurs="0"/>
<element name="position" minOccurs="0">
<simpleType>
<union memberTypes=" {http://www.mapserver.org/mapserver}positionEnum {http://www.mapserver.org/mapserver}fullPositionEnum">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="AUTO"/>
</restriction>
</simpleType>
</union>
</simpleType>
</element>
<element name="priority" minOccurs="0">
<simpleType>
<union memberTypes=" {http://www.mapserver.org/mapserver}attributeType">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}integer">
<minInclusive value="1"/>
<maxInclusive value="10"/>
</restriction>
</simpleType>
</union>
</simpleType>
</element>
<element name="repeatDistance" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
<element name="shadowColor" type="{http://www.mapserver.org/mapserver}rgbColorType" minOccurs="0"/>
<element name="shadowSize" type="{http://www.mapserver.org/mapserver}sizeType" minOccurs="0"/>
<element name="size">
<simpleType>
<union memberTypes=" {http://www.mapserver.org/mapserver}attributeType {http://www.w3.org/2001/XMLSchema}positiveInteger">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="TINY"/>
<enumeration value="SMALL"/>
<enumeration value="MEDIUM"/>
<enumeration value="LARGE"/>
<enumeration value="GIANT"/>
</restriction>
</simpleType>
</union>
</simpleType>
</element>
<element name="Style" type="{http://www.mapserver.org/mapserver}Style" maxOccurs="unbounded" minOccurs="0"/>
<element name="text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="wrap" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
<attribute name="type" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="BITMAP"/>
<enumeration value="TRUETYPE"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AlignEnum |
align |
protected java.lang.String |
angle |
protected BooleanEnum |
antialias |
protected java.math.BigInteger |
buffer |
protected RgbColorType |
color |
protected java.lang.String |
colorAttribute |
protected java.lang.Object |
encoding |
protected java.lang.String |
font |
protected BooleanEnum |
force |
protected java.math.BigInteger |
maxLength |
protected java.lang.Float |
maxOverlapAngle |
protected java.lang.Double |
maxScaleDenom |
protected java.math.BigInteger |
maxSize |
protected java.math.BigInteger |
minDistance |
protected java.lang.String |
minFeatureSize |
protected java.lang.Double |
minScaleDenom |
protected java.math.BigInteger |
minSize |
protected SizeType |
offset |
protected RgbColorType |
outlineColor |
protected java.lang.String |
outlineColorAttribute |
protected java.math.BigInteger |
outlineWidth |
protected BooleanEnum |
partials |
protected java.lang.String |
position |
protected java.lang.String |
priority |
protected java.math.BigInteger |
repeatDistance |
protected RgbColorType |
shadowColor |
protected SizeType |
shadowSize |
protected java.lang.String |
size |
protected java.util.List<Style> |
style |
protected java.lang.String |
text |
protected java.lang.String |
type |
protected java.lang.String |
wrap |
| Constructor and Description |
|---|
Label() |
| Modifier and Type | Method and Description |
|---|---|
AlignEnum |
getAlign()
Gets the value of the align property.
|
java.lang.String |
getAngle()
Gets the value of the angle property.
|
BooleanEnum |
getAntialias()
Gets the value of the antialias property.
|
java.math.BigInteger |
getBuffer()
Gets the value of the buffer property.
|
RgbColorType |
getColor()
Gets the value of the color property.
|
java.lang.String |
getColorAttribute()
Gets the value of the colorAttribute property.
|
java.lang.Object |
getEncoding()
Gets the value of the encoding property.
|
java.lang.String |
getFont()
Gets the value of the font property.
|
BooleanEnum |
getForce()
Gets the value of the force property.
|
java.math.BigInteger |
getMaxLength()
Gets the value of the maxLength property.
|
java.lang.Float |
getMaxOverlapAngle()
Gets the value of the maxOverlapAngle property.
|
java.lang.Double |
getMaxScaleDenom()
Gets the value of the MaxScaleDenom property.
|
java.math.BigInteger |
getMaxSize()
Gets the value of the maxSize property.
|
java.math.BigInteger |
getMinDistance()
Gets the value of the minDistance property.
|
java.lang.String |
getMinFeatureSize()
Gets the value of the minFeatureSize property.
|
java.lang.Double |
getMinScaleDenom()
Gets the value of the MinScaleDenom property.
|
java.math.BigInteger |
getMinSize()
Gets the value of the minSize property.
|
SizeType |
getOffset()
Gets the value of the offset property.
|
RgbColorType |
getOutlineColor()
Gets the value of the outlineColor property.
|
java.lang.String |
getOutlineColorAttribute()
Gets the value of the outlineColorAttribute property.
|
java.math.BigInteger |
getOutlineWidth()
Gets the value of the outlineWidth property.
|
BooleanEnum |
getPartials()
Gets the value of the partials property.
|
java.lang.String |
getPosition()
Gets the value of the position property.
|
java.lang.String |
getPriority()
Gets the value of the priority property.
|
java.math.BigInteger |
getRepeatDistance()
Gets the value of the repeatDistance property.
|
RgbColorType |
getShadowColor()
Gets the value of the shadowColor property.
|
SizeType |
getShadowSize()
Gets the value of the shadowSize property.
|
java.lang.String |
getSize()
Gets the value of the size property.
|
java.util.List<Style> |
getStyle()
Gets the value of the style property.
|
java.lang.String |
getText()
Gets the value of the text property.
|
java.lang.String |
getType()
Gets the value of the type property.
|
java.lang.String |
getWrap()
Gets the value of the wrap property.
|
void |
setAlign(AlignEnum value)
Sets the value of the align property.
|
void |
setAngle(java.lang.String value)
Sets the value of the angle property.
|
void |
setAntialias(BooleanEnum value)
Sets the value of the antialias property.
|
void |
setBuffer(java.math.BigInteger value)
Sets the value of the buffer property.
|
void |
setColor(RgbColorType value)
Sets the value of the color property.
|
void |
setColorAttribute(java.lang.String value)
Sets the value of the colorAttribute property.
|
void |
setEncoding(java.lang.Object value)
Sets the value of the encoding property.
|
void |
setFont(java.lang.String value)
Sets the value of the font property.
|
void |
setForce(BooleanEnum value)
Sets the value of the force property.
|
void |
setMaxLength(java.math.BigInteger value)
Sets the value of the maxLength property.
|
void |
setMaxOverlapAngle(java.lang.Float value)
Sets the value of the maxOverlapAngle property.
|
void |
setMaxScaleDenom(java.lang.Double value)
Sets the value of the MaxScaleDenom property.
|
void |
setMaxScaleDenom(java.lang.String stringFromDynObject) |
void |
setMaxSize(java.math.BigInteger value)
Sets the value of the maxSize property.
|
void |
setMinDistance(java.math.BigInteger value)
Sets the value of the minDistance property.
|
void |
setMinFeatureSize(java.lang.String value)
Sets the value of the minFeatureSize property.
|
void |
setMinScaleDenom(java.lang.Double value)
Sets the value of the MinScaleDenom property.
|
void |
setMinScaleDenom(java.lang.String stringFromDynObject) |
void |
setMinSize(java.math.BigInteger value)
Sets the value of the minSize property.
|
void |
setOffset(SizeType value)
Sets the value of the offset property.
|
void |
setOutlineColor(RgbColorType value)
Sets the value of the outlineColor property.
|
void |
setOutlineColorAttribute(java.lang.String value)
Sets the value of the outlineColorAttribute property.
|
void |
setOutlineWidth(java.math.BigInteger value)
Sets the value of the outlineWidth property.
|
void |
setPartials(BooleanEnum value)
Sets the value of the partials property.
|
void |
setPosition(java.lang.String value)
Sets the value of the position property.
|
void |
setPriority(java.lang.String value)
Sets the value of the priority property.
|
void |
setRepeatDistance(java.math.BigInteger value)
Sets the value of the repeatDistance property.
|
void |
setShadowColor(RgbColorType value)
Sets the value of the shadowColor property.
|
void |
setShadowSize(SizeType value)
Sets the value of the shadowSize property.
|
void |
setSize(java.lang.String value)
Sets the value of the size property.
|
void |
setText(java.lang.String value)
Sets the value of the text property.
|
void |
setType(java.lang.String value)
Sets the value of the type property.
|
void |
setWrap(java.lang.String value)
Sets the value of the wrap property.
|
protected AlignEnum align
protected java.lang.String angle
protected BooleanEnum antialias
protected java.math.BigInteger buffer
protected RgbColorType color
protected java.lang.String colorAttribute
protected java.lang.Object encoding
protected java.lang.String font
protected BooleanEnum force
protected java.math.BigInteger maxLength
protected java.lang.Float maxOverlapAngle
protected java.lang.Double maxScaleDenom
protected java.lang.Double minScaleDenom
protected java.math.BigInteger maxSize
protected java.math.BigInteger minDistance
protected java.lang.String minFeatureSize
protected java.math.BigInteger minSize
protected SizeType offset
protected RgbColorType outlineColor
protected java.lang.String outlineColorAttribute
protected java.math.BigInteger outlineWidth
protected BooleanEnum partials
protected java.lang.String position
protected java.lang.String priority
protected java.math.BigInteger repeatDistance
protected RgbColorType shadowColor
protected SizeType shadowSize
protected java.lang.String size
protected java.util.List<Style> style
protected java.lang.String text
protected java.lang.String wrap
protected java.lang.String type
public AlignEnum getAlign()
AlignEnumpublic void setAlign(AlignEnum value)
value - allowed object is
AlignEnumpublic java.lang.String getAngle()
Stringpublic void setAngle(java.lang.String value)
value - allowed object is
Stringpublic BooleanEnum getAntialias()
BooleanEnumpublic void setAntialias(BooleanEnum value)
value - allowed object is
BooleanEnumpublic java.math.BigInteger getBuffer()
BigIntegerpublic void setBuffer(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic RgbColorType getColor()
RgbColorTypepublic void setColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic java.lang.String getColorAttribute()
Stringpublic void setColorAttribute(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Object getEncoding()
Objectpublic void setEncoding(java.lang.Object value)
value - allowed object is
Objectpublic java.lang.String getFont()
Stringpublic void setFont(java.lang.String value)
value - allowed object is
Stringpublic BooleanEnum getForce()
BooleanEnumpublic void setForce(BooleanEnum value)
value - allowed object is
BooleanEnumpublic java.math.BigInteger getMaxLength()
BigIntegerpublic void setMaxLength(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.lang.Float getMaxOverlapAngle()
Floatpublic void setMaxOverlapAngle(java.lang.Float value)
value - allowed object is
Floatpublic java.lang.Double getMaxScaleDenom()
Floatpublic void setMaxScaleDenom(java.lang.Double value)
value - allowed object is
Floatpublic java.lang.Double getMinScaleDenom()
Doublepublic void setMinScaleDenom(java.lang.Double value)
value - allowed object is
Doublepublic java.math.BigInteger getMaxSize()
BigIntegerpublic void setMaxSize(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.math.BigInteger getMinDistance()
BigIntegerpublic void setMinDistance(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic java.lang.String getMinFeatureSize()
Stringpublic void setMinFeatureSize(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getMinSize()
BigIntegerpublic void setMinSize(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic SizeType getOffset()
SizeTypepublic void setOffset(SizeType value)
value - allowed object is
SizeTypepublic RgbColorType getOutlineColor()
RgbColorTypepublic void setOutlineColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic java.lang.String getOutlineColorAttribute()
Stringpublic void setOutlineColorAttribute(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getOutlineWidth()
BigIntegerpublic void setOutlineWidth(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic BooleanEnum getPartials()
BooleanEnumpublic void setPartials(BooleanEnum value)
value - allowed object is
BooleanEnumpublic java.lang.String getPosition()
Stringpublic void setPosition(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getPriority()
Stringpublic void setPriority(java.lang.String value)
value - allowed object is
Stringpublic java.math.BigInteger getRepeatDistance()
BigIntegerpublic void setRepeatDistance(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic RgbColorType getShadowColor()
RgbColorTypepublic void setShadowColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic SizeType getShadowSize()
SizeTypepublic void setShadowSize(SizeType value)
value - allowed object is
SizeTypepublic java.lang.String getSize()
Stringpublic void setSize(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<Style> getStyle()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the style property.
For example, to add a new item, do as follows:
getStyle().add(newItem);
Objects of the following type(s) are allowed in the list
Style
public java.lang.String getText()
Stringpublic void setText(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getWrap()
Stringpublic void setWrap(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getType()
Stringpublic void setType(java.lang.String value)
value - allowed object is
Stringpublic void setMinScaleDenom(java.lang.String stringFromDynObject)
public void setMaxScaleDenom(java.lang.String stringFromDynObject)