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