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

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

public class SymbolElementFactory
extends Object

The SymbolElementFactory object contains elements for writing elements pertaining to ArcXML symbol elements.


Constructor Summary
SymbolElementFactory()
          Creates an instance of a SymbolElementFactory object.
 
Method Summary
 com.esri.w3c.dom.Element createCalloutMarkerSymbolElement(String transparency, String antialiasing, String font, String fontsize, String fontcolor, String outline, String glowing, String shadow, String backcolor, String interval, String boundarycolor, String fontstyle)
          Creates the ArcXML CALLOUTMARKERSYMBOL Element.
 com.esri.w3c.dom.Element createChartSymbolSymbolElement(String antialiasing, String maxsize, String maxvalue, String minsize, String minvalue, String mode, String outline, String shadow, String size, String sizefield, String transparency)
          Creates the ArcXML CHARTSYMBOL Element.
 com.esri.w3c.dom.Element createChartValueElement(String lookupfield, String color, String lower, String upper, String value)
          Creates the ArcXML CHARTVALUE Element.
 com.esri.w3c.dom.Element createGradientFillSymbolElement(String transparency, String antialiasing, String type, String startcolor, String finishcolor, String overlap)
          Creates the ArcXML GRADIENTFILLSYMBOL Element.
 com.esri.w3c.dom.Element createHashLineSymbolElement(String transparency, String antialiasing, String color, String type, String width, String interval, String linethickness, String tickthickness, String overlap)
          Creates the ArcXML HASHLINESYMBOL Element.
 com.esri.w3c.dom.Element createRasterFillSymbolElement(String transparency, String antialiasing, String image, String url, String overlap)
          Creates the ArcXML RASTERFILLSYMBOL Element.
 com.esri.w3c.dom.Element createRasterMarkerSymbolElement(String transparency, String antialiasing, String sizex, String sizey, String hotspotx, String hotspoty, String shadow, String url, String image, String usecentroid, String overlap)
          Creates the RASTERMARKERSYMBOL Element.
 com.esri.w3c.dom.Element createRasterShieldSymbolElement(String transparency, String antialiasing, String font, String fontsize, String fontcolor, String shadow, String printmode, String labelmode, String textposition, String boundary, String image, String fontstyle, String url)
          Creates the ArcXML RASTERSHIELDSYMBOL Element.
 com.esri.w3c.dom.Element createShieldSymbolElement(String font, String fontsize, String fontcolor, String shadow, String type, String labelmode, String minsize, String antialiasing)
          Creates the ArcXML SHIELDSYMBOL Element.
 com.esri.w3c.dom.Element createSimpleLineSymbol(String antialiasing, String captype, String color, String jointype, String overlap, String transparency, String type, String width)
          Creates the ArcXML SIMPLELINESYMBOL Element.
 com.esri.w3c.dom.Element createSimpleMarkerSymbolElement(String antialiasing, String color, String outline, String overlap, String shadow, String transparency, String type, String usecentroid, String width)
          Creates the ArcXML SIMPLEMARKERSYMBOL Element.
 com.esri.w3c.dom.Element createSimplePolygonSymbolElement(String antialiasing, String boundary, String boundarycaptype, String boundarycolor, String boundaryjointype, String boundarytransparency, String boundarytype, String boundarywidth, String fillcolor, String fillinterval, String filltransparency, String filltype, String overlap, String transparency)
          Creates the ArcXML SIMPLEPOLYGONSYMBOL Element.
 com.esri.w3c.dom.Element createTextMarkerSymbolElement(String transparency, String antialiasing, String font, String fontsize, String fontcolor, String outline, String glowing, String angle, String fontstyle, String overlap, String valignment, String printmode, String interval, String halignment, String blockout)
          Creates the ArcXML TEXTMARKERSYMBOL Element.
 com.esri.w3c.dom.Element createTextSymbolElement(String transparency, String antialiasing, String font, String fontsize, String fontcolor, String outline, String glowing, String shadow, String blockout, String interval, String printmode, String fontstyle)
          Creates the ArcXML TEXTSYMBOL Element.
 com.esri.w3c.dom.Element createTrueTypeMarkerSymbolElement(String character, String angle, String anglefield, String antialiasing, String font, String fontcolor, String fontsize, String fontstyle, String glowing, String outline, String overlap, String rotatemethod, String shadow, String transparency, String usecentroid)
          Creates the ArcXML TRUETYPEMARKERSYMBOL Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolElementFactory

public SymbolElementFactory()
Creates an instance of a SymbolElementFactory object.

Method Detail

createCalloutMarkerSymbolElement

public com.esri.w3c.dom.Element createCalloutMarkerSymbolElement(String transparency,
                                                                 String antialiasing,
                                                                 String font,
                                                                 String fontsize,
                                                                 String fontcolor,
                                                                 String outline,
                                                                 String glowing,
                                                                 String shadow,
                                                                 String backcolor,
                                                                 String interval,
                                                                 String boundarycolor,
                                                                 String fontstyle)
Creates the ArcXML CALLOUTMARKERSYMBOL Element.

Parameters:
transparency - sets percentage of transparency.
antialiasing - used to make edges of labels and symbols smoother.
font - font name.
fontsize - font size.
fontcolor - font color using RGB values.
outline - outline color using RGB values.
glowing - glow color around text using RGB values.
shadow - shadow color using RGB values.
backcolor - backcolor using RGB values.
interval - distance between point and callout box.
boundarycolor - boundary color using RGB values.
fontstyle - font style.
Returns:
Element

createChartSymbolSymbolElement

public com.esri.w3c.dom.Element createChartSymbolSymbolElement(String antialiasing,
                                                               String maxsize,
                                                               String maxvalue,
                                                               String minsize,
                                                               String minvalue,
                                                               String mode,
                                                               String outline,
                                                               String shadow,
                                                               String size,
                                                               String sizefield,
                                                               String transparency)
Creates the ArcXML CHARTSYMBOL Element.

Parameters:
antialiasing - used to make edges of labels and symbols smoother.
maxsize - maximum size of chart if size or sizefield is not used.
maxvalue - maximum value that corresponds to the minimum chart size in minsize.
minsize - minimum size of chart if size or sizefield is not used
minvalue - minimum value that corresponds to the minimum cahrt size in minsize.
mode - type of chart: pie or bar.
outline - outline color of charts using RGB values.
shadow - shadow color using RGB values.
size - size of charts.
sizefield - the field in the database containing the size of the chart.
transparency - value to set percentage of transparency to.
Returns:
Element

createChartValueElement

public com.esri.w3c.dom.Element createChartValueElement(String lookupfield,
                                                        String color,
                                                        String lower,
                                                        String upper,
                                                        String value)
Creates the ArcXML CHARTVALUE Element.

Parameters:
lookupfield - lookupfield for chart segment.
color - color used for segment of pie or bar chart using RGB values.
lower - determines the minimum value for drawing a chart segment.
upper - determines the maximum value for drawing a chart segment.
value - used to change the color of a chart segment depending on user-assigned integer values.
Returns:
Element

createGradientFillSymbolElement

public com.esri.w3c.dom.Element createGradientFillSymbolElement(String transparency,
                                                                String antialiasing,
                                                                String type,
                                                                String startcolor,
                                                                String finishcolor,
                                                                String overlap)
Creates the ArcXML GRADIENTFILLSYMBOL Element.

Parameters:
transparency - value to set percentage of transparency to.
antialiasing - used to make edges of labels and symbols smoother.
type - symbol type.
startcolor - start color using RGB values.
finishcolor - finish color using RGB values.
overlap - determines if labels can overlap this symbol.
Returns:
Element

createHashLineSymbolElement

public com.esri.w3c.dom.Element createHashLineSymbolElement(String transparency,
                                                            String antialiasing,
                                                            String color,
                                                            String type,
                                                            String width,
                                                            String interval,
                                                            String linethickness,
                                                            String tickthickness,
                                                            String overlap)
Creates the ArcXML HASHLINESYMBOL Element.

Parameters:
transparency - value to set percentage of transparency to.
antialiasing - used to make edges of labels and symbols smoother.
color - symbol color using RGB values.
type - if type is foreground draws as a railroad crosshash, else if background draws as simpleline without the crosshash.
width - width of the crosshash segments in pixels.
interval - distance between railroad crosshashes in pixels.
linethickness - line thickness in pixels.
tickthickness - tick thickness in pixels.
overlap - determines if labels can overlap this symbol.
Returns:
Element.

createRasterFillSymbolElement

public com.esri.w3c.dom.Element createRasterFillSymbolElement(String transparency,
                                                              String antialiasing,
                                                              String image,
                                                              String url,
                                                              String overlap)
Creates the ArcXML RASTERFILLSYMBOL Element.

Parameters:
transparency - value to set percentage of transparency to.
antialiasing - used to make edges of labels and symbols smoother.
image - full pathname to image.
url - URL used by client to retrieve image.
overlap - determines if labels can overlap this symbol.
Returns:
Element

createRasterMarkerSymbolElement

public com.esri.w3c.dom.Element createRasterMarkerSymbolElement(String transparency,
                                                                String antialiasing,
                                                                String sizex,
                                                                String sizey,
                                                                String hotspotx,
                                                                String hotspoty,
                                                                String shadow,
                                                                String url,
                                                                String image,
                                                                String usecentroid,
                                                                String overlap)
Creates the RASTERMARKERSYMBOL Element.

Parameters:
transparency - value to set percentage of transparency to.
antialiasing - used to make edges of labels and symbols smoother.
sizex - resizes width of marker symbol in pixels.
sizey - resizes height of marker symbol in pixels.
hotspotx - determines where marker symbol is placed in relation to actual x location.
hotspoty - determines where marker symbol is placed in relation to actual y location.
shadow - shadow color using RGB values.
url - URL used by client to retrieve image.
image - full pathname to image.
overlap - determines if labels can overlap this symbol.
Returns:
Element

createRasterShieldSymbolElement

public com.esri.w3c.dom.Element createRasterShieldSymbolElement(String transparency,
                                                                String antialiasing,
                                                                String font,
                                                                String fontsize,
                                                                String fontcolor,
                                                                String shadow,
                                                                String printmode,
                                                                String labelmode,
                                                                String textposition,
                                                                String boundary,
                                                                String image,
                                                                String fontstyle,
                                                                String url)
Creates the ArcXML RASTERSHIELDSYMBOL Element.

Parameters:
transparency - value to set percentage of transparency to.
antialiasing - used to make edges of labels and symbols smoother.
font - font name.
fontsize - font size.
fontcolor - font color in RGB values.
shadow - shadow color using RGB values.
printmode - determines how labels are printed.
labelmode - determines what value is drawn on raster shield.
textposition - determines where text is placed in relation to shield image.
boundary - draws a boundary around feature.
image - full pathname to image.
fontstyle - font style.
url - URL used by client to retrieve image.
Returns:
Element

createShieldSymbolElement

public com.esri.w3c.dom.Element createShieldSymbolElement(String font,
                                                          String fontsize,
                                                          String fontcolor,
                                                          String shadow,
                                                          String type,
                                                          String labelmode,
                                                          String minsize,
                                                          String antialiasing)
Creates the ArcXML SHIELDSYMBOL Element.

Parameters:
font - font name.
fontsize - font size.
fontcolor - font color using RGB values.
shadow - shadow color using RGB values.
type - symbol type.
labelmode - determines what value is drawn on the shield.
minsize - sets shield size to minimum size in characters.
antialiasing - used to make edges of labels and symbols smoother.
Returns:
Element

createSimpleLineSymbol

public com.esri.w3c.dom.Element createSimpleLineSymbol(String antialiasing,
                                                       String captype,
                                                       String color,
                                                       String jointype,
                                                       String overlap,
                                                       String transparency,
                                                       String type,
                                                       String width)
Creates the ArcXML SIMPLELINESYMBOL Element.

Parameters:
antialiasing - used to make edges of labels and symbols smoother.
captype - line end style.
color - line color in RGB values.
jointype - line join style.
overlap - determines if labels can overlap this symbol.
transparency - value to set percentage of transparency to.
type - line type.
width - line width in pixels.
Returns:
Element

createSimpleMarkerSymbolElement

public com.esri.w3c.dom.Element createSimpleMarkerSymbolElement(String antialiasing,
                                                                String color,
                                                                String outline,
                                                                String overlap,
                                                                String shadow,
                                                                String transparency,
                                                                String type,
                                                                String usecentroid,
                                                                String width)
Creates the ArcXML SIMPLEMARKERSYMBOL Element.

Parameters:
antialiasing - used to make edges of labels and symbols smoother.
color - symbol color using RGB values.
outline - outline color using RGB values.
overlap - determines if labels can overlap this symbol.
shadow - shadow color using RGB values.
transparency - value to set percentage of transparency to.
type - symbol type.
usecentroid - if true, marker is placed in the centroid of the polygon.
width - symbol width in pixels.
Returns:
Element

createSimplePolygonSymbolElement

public com.esri.w3c.dom.Element createSimplePolygonSymbolElement(String antialiasing,
                                                                 String boundary,
                                                                 String boundarycaptype,
                                                                 String boundarycolor,
                                                                 String boundaryjointype,
                                                                 String boundarytransparency,
                                                                 String boundarytype,
                                                                 String boundarywidth,
                                                                 String fillcolor,
                                                                 String fillinterval,
                                                                 String filltransparency,
                                                                 String filltype,
                                                                 String overlap,
                                                                 String transparency)
Creates the ArcXML SIMPLEPOLYGONSYMBOL Element.

Parameters:
antialiasing - used to make edges of labels and symbols smoother.
boundary - turns boundary on or off
boundarycaptype - boundary end style
boundarycolor - boundary color in RGB values.
boundaryjointype - boundary join style.
boundarytransparency - value to set percentage of transparency to.
boundarytype - boundary type.
boundarywidth - boundary width.
fillcolor - fill color using RGB values.
fillinterval - distance between lines for hatch fills.
filltransparency - value to set percentage of transparency for the polygon fill.
filltype - symbol fill type.
overlap - determines if labels can overlap this symbol.
transparency - value to set percentage of transparency to.
Returns:
Element

createTextSymbolElement

public com.esri.w3c.dom.Element createTextSymbolElement(String transparency,
                                                        String antialiasing,
                                                        String font,
                                                        String fontsize,
                                                        String fontcolor,
                                                        String outline,
                                                        String glowing,
                                                        String shadow,
                                                        String blockout,
                                                        String interval,
                                                        String printmode,
                                                        String fontstyle)
Creates the ArcXML TEXTSYMBOL Element.

Parameters:
transparency - value to set percentage of transparency to.
antialiasing - used to make edges of labels and symbols smoother.
font - font name.
fontsize - font size.
fontcolor - font color in RGB values.
outline - outline color in RGB values.
glowing - glowing color in RGB values.
shadow - shadow color in RGB values.
blockout - provides background behind text. Select color using RGB values.
interval - distance in pixels from point 0.
printmode - determines how labels are printed.
fontstyle - font style.
Returns:
Element

createTextMarkerSymbolElement

public com.esri.w3c.dom.Element createTextMarkerSymbolElement(String transparency,
                                                              String antialiasing,
                                                              String font,
                                                              String fontsize,
                                                              String fontcolor,
                                                              String outline,
                                                              String glowing,
                                                              String angle,
                                                              String fontstyle,
                                                              String overlap,
                                                              String valignment,
                                                              String printmode,
                                                              String interval,
                                                              String halignment,
                                                              String blockout)
Creates the ArcXML TEXTMARKERSYMBOL Element.

Parameters:
transparency - value to set percentage of transparency to.
antialiasing - used to make edges of labels and symbols smoother.
font - font name.
fontsize - font size.
fontcolor - font color in RGB values.
outline - outline color in RGB values.
glowing - glowing color in RGB values.
angle - angle of rotation in degrees moving counterclockwise.
fontstyle - font style
overlap - determines if labels can overlap this symbol.
valignment - vertical alignment of label.
printmode - determines how labels are printed.
interval - distance between point and printed label.
halignment - horizontal alignment of label compared to label point.
blockout - provides a background behind text. Select color using RGB values.
Returns:
Element

createTrueTypeMarkerSymbolElement

public com.esri.w3c.dom.Element createTrueTypeMarkerSymbolElement(String character,
                                                                  String angle,
                                                                  String anglefield,
                                                                  String antialiasing,
                                                                  String font,
                                                                  String fontcolor,
                                                                  String fontsize,
                                                                  String fontstyle,
                                                                  String glowing,
                                                                  String outline,
                                                                  String overlap,
                                                                  String rotatemethod,
                                                                  String shadow,
                                                                  String transparency,
                                                                  String usecentroid)
Creates the ArcXML TRUETYPEMARKERSYMBOL Element.

Parameters:
character - text character ascii value.
angle - angle of rotation in degrees.
anglefield - the field in the database that contains the angle of rotation.
antialiasing - used to make edges of labels and symbols smoother.
font - font name.
fontcolor - font color using RGB values.
fontsize - font size.
fontstyle - font style.
glowing - glowing color using RGB values.
outline - outline color using RGB values.
overlap - determines if labels can overlap this symbol.
rotatemethod - method for calculating angles. See ArcXML Guide.
shadow - shadow color using RGB values.
transparency - value to set percentage of transparency to.
usecentroid - if true, marker is placed in the centroid of the polygon.
Returns:
Element