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()
AlignEnum
public void setAlign(AlignEnum value)
value
- allowed object is
AlignEnum
public java.lang.String getAngle()
String
public void setAngle(java.lang.String value)
value
- allowed object is
String
public BooleanEnum getAntialias()
BooleanEnum
public void setAntialias(BooleanEnum value)
value
- allowed object is
BooleanEnum
public java.math.BigInteger getBuffer()
BigInteger
public void setBuffer(java.math.BigInteger value)
value
- allowed object is
BigInteger
public RgbColorType getColor()
RgbColorType
public void setColor(RgbColorType value)
value
- allowed object is
RgbColorType
public java.lang.String getColorAttribute()
String
public void setColorAttribute(java.lang.String value)
value
- allowed object is
String
public java.lang.Object getEncoding()
Object
public void setEncoding(java.lang.Object value)
value
- allowed object is
Object
public java.lang.String getFont()
String
public void setFont(java.lang.String value)
value
- allowed object is
String
public BooleanEnum getForce()
BooleanEnum
public void setForce(BooleanEnum value)
value
- allowed object is
BooleanEnum
public java.math.BigInteger getMaxLength()
BigInteger
public void setMaxLength(java.math.BigInteger value)
value
- allowed object is
BigInteger
public java.lang.Float getMaxOverlapAngle()
Float
public void setMaxOverlapAngle(java.lang.Float value)
value
- allowed object is
Float
public java.lang.Double getMaxScaleDenom()
Float
public void setMaxScaleDenom(java.lang.Double value)
value
- allowed object is
Float
public java.lang.Double getMinScaleDenom()
Double
public void setMinScaleDenom(java.lang.Double value)
value
- allowed object is
Double
public java.math.BigInteger getMaxSize()
BigInteger
public void setMaxSize(java.math.BigInteger value)
value
- allowed object is
BigInteger
public java.math.BigInteger getMinDistance()
BigInteger
public void setMinDistance(java.math.BigInteger value)
value
- allowed object is
BigInteger
public java.lang.String getMinFeatureSize()
String
public void setMinFeatureSize(java.lang.String value)
value
- allowed object is
String
public java.math.BigInteger getMinSize()
BigInteger
public void setMinSize(java.math.BigInteger value)
value
- allowed object is
BigInteger
public SizeType getOffset()
SizeType
public void setOffset(SizeType value)
value
- allowed object is
SizeType
public RgbColorType getOutlineColor()
RgbColorType
public void setOutlineColor(RgbColorType value)
value
- allowed object is
RgbColorType
public java.lang.String getOutlineColorAttribute()
String
public void setOutlineColorAttribute(java.lang.String value)
value
- allowed object is
String
public java.math.BigInteger getOutlineWidth()
BigInteger
public void setOutlineWidth(java.math.BigInteger value)
value
- allowed object is
BigInteger
public BooleanEnum getPartials()
BooleanEnum
public void setPartials(BooleanEnum value)
value
- allowed object is
BooleanEnum
public java.lang.String getPosition()
String
public void setPosition(java.lang.String value)
value
- allowed object is
String
public java.lang.String getPriority()
String
public void setPriority(java.lang.String value)
value
- allowed object is
String
public java.math.BigInteger getRepeatDistance()
BigInteger
public void setRepeatDistance(java.math.BigInteger value)
value
- allowed object is
BigInteger
public RgbColorType getShadowColor()
RgbColorType
public void setShadowColor(RgbColorType value)
value
- allowed object is
RgbColorType
public SizeType getShadowSize()
SizeType
public void setShadowSize(SizeType value)
value
- allowed object is
SizeType
public java.lang.String getSize()
String
public void setSize(java.lang.String value)
value
- allowed object is
String
public 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()
String
public void setText(java.lang.String value)
value
- allowed object is
String
public java.lang.String getWrap()
String
public void setWrap(java.lang.String value)
value
- allowed object is
String
public java.lang.String getType()
String
public void setType(java.lang.String value)
value
- allowed object is
String
public void setMinScaleDenom(java.lang.String stringFromDynObject)
public void setMaxScaleDenom(java.lang.String stringFromDynObject)