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

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

public class RendererElementFactory
extends Object

The RendererElementFactory class contains methods for creating elements pertaining to the ArcXML Renderer elements.


Constructor Summary
RendererElementFactory()
          Constructs an instance of a RendererElementFactory object.
 
Method Summary
 com.esri.w3c.dom.Element createExactElement(String label, String method, String value)
          Creates the ArcXML EXACT Element.
 com.esri.w3c.dom.Element createGroupRendererElement()
          Creates the ArcXML GROUPRENDERER Element.
 com.esri.w3c.dom.Element createOtherElement(String label)
          Creates the ArcXML OTHER Element.
 com.esri.w3c.dom.Element createRangeElement(String lower, String upper, String equality, String label)
          Creates the ArcXML RANGE Element.
 com.esri.w3c.dom.Element createScaleDependentRendererElement(String lower, String upper)
          Creates the ArcXML SCALEDEPENDENTRENDERER Element.
 com.esri.w3c.dom.Element createSimpleLabelRendererElement(String field, String featureweight, String howmanylabels, String labelbufferratio, String labelpriorities, String labelweight, String linelabelposition, String rotationalangles)
          Creates the ArcXML SIMPLELABELRENDERER Element.
 com.esri.w3c.dom.Element createSimpleRendererElement()
          Creates the ArcXML SIMPLERENDERER Element.
 com.esri.w3c.dom.Element createValueMapLabelRendererElement(String labelfield, String lookupfield, String featureweight, String howmanylabels, String labelbufferratio, String labelpriorities, String labelweight, String linelabelposition, String rotationalangles)
          Creates the ArcXML VALUEMAPLABELRENDERER Element.
 com.esri.w3c.dom.Element createValueMapRendererElement(String lookupfield)
          Creates the ArcXML VALUEMAPRENDERER Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererElementFactory

public RendererElementFactory()
Constructs an instance of a RendererElementFactory object.

Method Detail

createSimpleRendererElement

public com.esri.w3c.dom.Element createSimpleRendererElement()
Creates the ArcXML SIMPLERENDERER Element.

Returns:
Element

createValueMapRendererElement

public com.esri.w3c.dom.Element createValueMapRendererElement(String lookupfield)
Creates the ArcXML VALUEMAPRENDERER Element.

Parameters:
lookupfield - name of field used to specify ranges for RANGE or exact values for EXACT.
Returns:
Element

createValueMapLabelRendererElement

public com.esri.w3c.dom.Element createValueMapLabelRendererElement(String labelfield,
                                                                   String lookupfield,
                                                                   String featureweight,
                                                                   String howmanylabels,
                                                                   String labelbufferratio,
                                                                   String labelpriorities,
                                                                   String labelweight,
                                                                   String linelabelposition,
                                                                   String rotationalangles)
Creates the ArcXML VALUEMAPLABELRENDERER Element.

Parameters:
labelfield - field containing text for labeling features.
lookupfield - name of field used to specify ranges for RANGE or exact for EXACT.
featureweight - used to prioritize the importance of features.
howmanylabels - determines how often a feature is labeled.
labelbufferratio - used to set buffer around the label.
labelpriorities - used to determine where to place the label around the point.
labelweight - used to prioritize the importance of labels.
linelabelposition - determines where on the line to place the label.
rotationalangles - sets possible angles that the label can be placed at.
Returns:
Element.

createScaleDependentRendererElement

public com.esri.w3c.dom.Element createScaleDependentRendererElement(String lower,
                                                                    String upper)
Creates the ArcXML SCALEDEPENDENTRENDERER Element.

Parameters:
lower - minimum scale to display renderer using a relative scale.
upper - maximum scale to display renderer using a relative scale.
Returns:
Element.

createGroupRendererElement

public com.esri.w3c.dom.Element createGroupRendererElement()
Creates the ArcXML GROUPRENDERER Element.

Returns:
Element.

createExactElement

public com.esri.w3c.dom.Element createExactElement(String label,
                                                   String method,
                                                   String value)
Creates the ArcXML EXACT Element.

Parameters:
label - label for legend.
method - refers to the way a value in the data field is compared to the EXACT value.
value - values used for matching records in a selected field.
Returns:
Element.

createOtherElement

public com.esri.w3c.dom.Element createOtherElement(String label)
Creates the ArcXML OTHER Element.

Parameters:
label - label for legend.
Returns:
Element

createRangeElement

public com.esri.w3c.dom.Element createRangeElement(String lower,
                                                   String upper,
                                                   String equality,
                                                   String label)
Creates the ArcXML RANGE Element.

Parameters:
lower - lower value of range, can be numeric, string, or date value.
upper - upper value of range, can be numeric, string, or date value.
equality - defines the upper and lower bounds of each range.
label - label for legend.
Returns:
Element

createSimpleLabelRendererElement

public com.esri.w3c.dom.Element createSimpleLabelRendererElement(String field,
                                                                 String featureweight,
                                                                 String howmanylabels,
                                                                 String labelbufferratio,
                                                                 String labelpriorities,
                                                                 String labelweight,
                                                                 String linelabelposition,
                                                                 String rotationalangles)
Creates the ArcXML SIMPLELABELRENDERER Element.

Parameters:
field - field containing text for labeling features.
featureweight - used to prioritize the importance of features.
howmanylabels - determines how often a feature is labeled.
labelbufferratio - used to set a buffer around the label.
labelpriorities - used to determine where to place the label around the point.
labelweight - used to prioritize the importance of labels.
linelabelposition - determines where on the line to place the label.
rotationalangles - sets the possible angles that the label can be placed at.
Returns:
Element