public class Label extends 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 String |
angle |
protected BooleanEnum |
antialias |
protected BigInteger |
buffer |
protected RgbColorType |
color |
protected String |
colorAttribute |
protected Object |
encoding |
protected String |
font |
protected BooleanEnum |
force |
protected BigInteger |
maxLength |
protected Float |
maxOverlapAngle |
protected Double |
maxScaleDenom |
protected BigInteger |
maxSize |
protected BigInteger |
minDistance |
protected String |
minFeatureSize |
protected Double |
minScaleDenom |
protected BigInteger |
minSize |
protected SizeType |
offset |
protected RgbColorType |
outlineColor |
protected String |
outlineColorAttribute |
protected BigInteger |
outlineWidth |
protected BooleanEnum |
partials |
protected String |
position |
protected String |
priority |
protected BigInteger |
repeatDistance |
protected RgbColorType |
shadowColor |
protected SizeType |
shadowSize |
protected String |
size |
protected List<Style> |
style |
protected String |
text |
protected String |
type |
protected String |
wrap |
| Constructor and Description |
|---|
Label() |
| Modifier and Type | Method and Description |
|---|---|
AlignEnum |
getAlign()
Gets the value of the align property.
|
String |
getAngle()
Gets the value of the angle property.
|
BooleanEnum |
getAntialias()
Gets the value of the antialias property.
|
BigInteger |
getBuffer()
Gets the value of the buffer property.
|
RgbColorType |
getColor()
Gets the value of the color property.
|
String |
getColorAttribute()
Gets the value of the colorAttribute property.
|
Object |
getEncoding()
Gets the value of the encoding property.
|
String |
getFont()
Gets the value of the font property.
|
BooleanEnum |
getForce()
Gets the value of the force property.
|
BigInteger |
getMaxLength()
Gets the value of the maxLength property.
|
Float |
getMaxOverlapAngle()
Gets the value of the maxOverlapAngle property.
|
Double |
getMaxScaleDenom()
Gets the value of the MaxScaleDenom property.
|
BigInteger |
getMaxSize()
Gets the value of the maxSize property.
|
BigInteger |
getMinDistance()
Gets the value of the minDistance property.
|
String |
getMinFeatureSize()
Gets the value of the minFeatureSize property.
|
Double |
getMinScaleDenom()
Gets the value of the MinScaleDenom property.
|
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.
|
String |
getOutlineColorAttribute()
Gets the value of the outlineColorAttribute property.
|
BigInteger |
getOutlineWidth()
Gets the value of the outlineWidth property.
|
BooleanEnum |
getPartials()
Gets the value of the partials property.
|
String |
getPosition()
Gets the value of the position property.
|
String |
getPriority()
Gets the value of the priority property.
|
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.
|
String |
getSize()
Gets the value of the size property.
|
List<Style> |
getStyle()
Gets the value of the style property.
|
String |
getText()
Gets the value of the text property.
|
String |
getType()
Gets the value of the type property.
|
String |
getWrap()
Gets the value of the wrap property.
|
void |
setAlign(AlignEnum value)
Sets the value of the align property.
|
void |
setAngle(String value)
Sets the value of the angle property.
|
void |
setAntialias(BooleanEnum value)
Sets the value of the antialias property.
|
void |
setBuffer(BigInteger value)
Sets the value of the buffer property.
|
void |
setColor(RgbColorType value)
Sets the value of the color property.
|
void |
setColorAttribute(String value)
Sets the value of the colorAttribute property.
|
void |
setEncoding(Object value)
Sets the value of the encoding property.
|
void |
setFont(String value)
Sets the value of the font property.
|
void |
setForce(BooleanEnum value)
Sets the value of the force property.
|
void |
setMaxLength(BigInteger value)
Sets the value of the maxLength property.
|
void |
setMaxOverlapAngle(Float value)
Sets the value of the maxOverlapAngle property.
|
void |
setMaxScaleDenom(Double value)
Sets the value of the MaxScaleDenom property.
|
void |
setMaxScaleDenom(String stringFromDynObject) |
void |
setMaxSize(BigInteger value)
Sets the value of the maxSize property.
|
void |
setMinDistance(BigInteger value)
Sets the value of the minDistance property.
|
void |
setMinFeatureSize(String value)
Sets the value of the minFeatureSize property.
|
void |
setMinScaleDenom(Double value)
Sets the value of the MinScaleDenom property.
|
void |
setMinScaleDenom(String stringFromDynObject) |
void |
setMinSize(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(String value)
Sets the value of the outlineColorAttribute property.
|
void |
setOutlineWidth(BigInteger value)
Sets the value of the outlineWidth property.
|
void |
setPartials(BooleanEnum value)
Sets the value of the partials property.
|
void |
setPosition(String value)
Sets the value of the position property.
|
void |
setPriority(String value)
Sets the value of the priority property.
|
void |
setRepeatDistance(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(String value)
Sets the value of the size property.
|
void |
setText(String value)
Sets the value of the text property.
|
void |
setType(String value)
Sets the value of the type property.
|
void |
setWrap(String value)
Sets the value of the wrap property.
|
protected AlignEnum align
protected String angle
protected BooleanEnum antialias
protected BigInteger buffer
protected RgbColorType color
protected String colorAttribute
protected Object encoding
protected String font
protected BooleanEnum force
protected BigInteger maxLength
protected Float maxOverlapAngle
protected Double maxScaleDenom
protected Double minScaleDenom
protected BigInteger maxSize
protected BigInteger minDistance
protected String minFeatureSize
protected BigInteger minSize
protected SizeType offset
protected RgbColorType outlineColor
protected String outlineColorAttribute
protected BigInteger outlineWidth
protected BooleanEnum partials
protected String position
protected String priority
protected BigInteger repeatDistance
protected RgbColorType shadowColor
protected SizeType shadowSize
protected String size
protected String text
protected String wrap
protected String type
public AlignEnum getAlign()
AlignEnumpublic void setAlign(AlignEnum value)
value - allowed object is
AlignEnumpublic String getAngle()
Stringpublic void setAngle(String value)
value - allowed object is
Stringpublic BooleanEnum getAntialias()
BooleanEnumpublic void setAntialias(BooleanEnum value)
value - allowed object is
BooleanEnumpublic BigInteger getBuffer()
BigIntegerpublic void setBuffer(BigInteger value)
value - allowed object is
BigIntegerpublic RgbColorType getColor()
RgbColorTypepublic void setColor(RgbColorType value)
value - allowed object is
RgbColorTypepublic String getColorAttribute()
Stringpublic void setColorAttribute(String value)
value - allowed object is
Stringpublic Object getEncoding()
Objectpublic void setEncoding(Object value)
value - allowed object is
Objectpublic String getFont()
Stringpublic void setFont(String value)
value - allowed object is
Stringpublic BooleanEnum getForce()
BooleanEnumpublic void setForce(BooleanEnum value)
value - allowed object is
BooleanEnumpublic BigInteger getMaxLength()
BigIntegerpublic void setMaxLength(BigInteger value)
value - allowed object is
BigIntegerpublic Float getMaxOverlapAngle()
Floatpublic void setMaxOverlapAngle(Float value)
value - allowed object is
Floatpublic Double getMaxScaleDenom()
Floatpublic void setMaxScaleDenom(Double value)
value - allowed object is
Floatpublic Double getMinScaleDenom()
Doublepublic void setMinScaleDenom(Double value)
value - allowed object is
Doublepublic BigInteger getMaxSize()
BigIntegerpublic void setMaxSize(BigInteger value)
value - allowed object is
BigIntegerpublic BigInteger getMinDistance()
BigIntegerpublic void setMinDistance(BigInteger value)
value - allowed object is
BigIntegerpublic String getMinFeatureSize()
Stringpublic void setMinFeatureSize(String value)
value - allowed object is
Stringpublic BigInteger getMinSize()
BigIntegerpublic void setMinSize(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 String getOutlineColorAttribute()
Stringpublic void setOutlineColorAttribute(String value)
value - allowed object is
Stringpublic BigInteger getOutlineWidth()
BigIntegerpublic void setOutlineWidth(BigInteger value)
value - allowed object is
BigIntegerpublic BooleanEnum getPartials()
BooleanEnumpublic void setPartials(BooleanEnum value)
value - allowed object is
BooleanEnumpublic String getPosition()
Stringpublic void setPosition(String value)
value - allowed object is
Stringpublic String getPriority()
Stringpublic void setPriority(String value)
value - allowed object is
Stringpublic BigInteger getRepeatDistance()
BigIntegerpublic void setRepeatDistance(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 String getSize()
Stringpublic void setSize(String value)
value - allowed object is
Stringpublic 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 String getText()
Stringpublic void setText(String value)
value - allowed object is
Stringpublic String getWrap()
Stringpublic void setWrap(String value)
value - allowed object is
Stringpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic void setMinScaleDenom(String stringFromDynObject)
public void setMaxScaleDenom(String stringFromDynObject)