com.esri.aims.mtier.model.axl.map
Class ObjectElementFactory

java.lang.Object
  |
  +--com.esri.aims.mtier.model.axl.map.ObjectElementFactory

public class ObjectElementFactory
extends Object

The ObjectElementFactory class contains methods for creating methods pertaining to the ArcXML acetate elements.


Constructor Summary
ObjectElementFactory()
          Creates an instance of an ObjectElementFactory object.
 
Method Summary
static com.esri.w3c.dom.Element createNorthArrowElement(String coords, String type, String angle, String antialiasing, String outline, String overlap, String shadow, String size, String transparency)
          Creates the ArcXML NORTHARROW Element.
 com.esri.w3c.dom.Element createObjectElement(String units, String lower, String upper)
          Creates the ArcXML OBJECT element.
 com.esri.w3c.dom.Element createScaleBarElement(String coords, String antialiasing, String barcolor, String bartransparency, String barwidth, String distance, String font, String fontcolor, String fontsize, String fontstyle, String mapunits, String mode, String outline, String overlap, String precision, String round, String scaleunits, String screenlength, String texttransparency)
          Creates the ArcXML SCALEBAR Element.
static com.esri.w3c.dom.Element createTextElement(String coords, String label)
          Creates the ArcXML TEXT Element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectElementFactory

public ObjectElementFactory()
Creates an instance of an ObjectElementFactory object.

Method Detail

createTextElement

public static com.esri.w3c.dom.Element createTextElement(String coords,
                                                         String label)
Creates the ArcXML TEXT Element

Parameters:
coords - the text placement location.
label - the text label.
Returns:
Element

createNorthArrowElement

public static com.esri.w3c.dom.Element createNorthArrowElement(String coords,
                                                               String type,
                                                               String angle,
                                                               String antialiasing,
                                                               String outline,
                                                               String overlap,
                                                               String shadow,
                                                               String size,
                                                               String transparency)
Creates the ArcXML NORTHARROW Element.

Parameters:
coords - the northarrow placement location.
type - value representing the northarrow type.
angle - the angle of the northarrow in degrees.
antialiasing - used to make edges of labels and symbols smoother.
outline - the outline color using RGB values.
overlap - determines if labels can overlap this symbol.
shadow - shadow color using RGB values.
size - arrow size in pixels.
transparency - value to set percentage of transparency.
Returns:
Element

createObjectElement

public com.esri.w3c.dom.Element createObjectElement(String units,
                                                    String lower,
                                                    String upper)
Creates the ArcXML OBJECT element.

Parameters:
units - determines how coordinates for the object are specified.
lower - minimum scale to display an object using a relative scale.
upper - maximum scale to display an object using a relative scale.
Returns:
Element

createScaleBarElement

public com.esri.w3c.dom.Element createScaleBarElement(String coords,
                                                      String antialiasing,
                                                      String barcolor,
                                                      String bartransparency,
                                                      String barwidth,
                                                      String distance,
                                                      String font,
                                                      String fontcolor,
                                                      String fontsize,
                                                      String fontstyle,
                                                      String mapunits,
                                                      String mode,
                                                      String outline,
                                                      String overlap,
                                                      String precision,
                                                      String round,
                                                      String scaleunits,
                                                      String screenlength,
                                                      String texttransparency)
Creates the ArcXML SCALEBAR Element.

Parameters:
coords - scalebar placement location.
antialiasing - used to make edges of labels and symbols smoother.
barcolor - scalebar color using RGB values.
bartransparency - value to set percentage of transparency.
barwidth - scalebar width.
distance - sets the length of the scale bar to always be the distance specified.
font - font name.
fontcolor - font color using RGB values.
fontsize - font size.
fontstyle - font style.
mapunits - data units on map.
mode - used when the map units are in decimal degrees.
outline - outline color using RGB values.
overlap - determines if labels can overlap this symbol.
precision - number of decimal places.
round - number of digits to round.
scaleunits - screen units.
screenlength - bar size in pixels.
texttransparency - value to set percentage of transparency.
Returns:
Element