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

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

public class CommonElementFactory
extends Object

The CommonElementFactory class contains methods for creating all of the common ArcXML elements. Common elements are elements that are used by many different types of requests.


Constructor Summary
CommonElementFactory()
          Constructs an instance of a CommonElementFactory object.
 
Method Summary
 com.esri.w3c.dom.Element createEnvelopeElement(String minx, String miny, String maxx, String maxy)
          Creates the ArcXML Envelope Element.
 com.esri.w3c.dom.Element createFeatureCoordSYSElement(String id, String string, String datumtransformid, String datumtransformstring)
          Creates the ArcXML FEATURECOORDSYS element.
 com.esri.w3c.dom.Element createFilterCoordSYSElement(String id, String string, String datumtransformid, String datumtransformstring)
          Creates the ArcXML FILTERCOORDSYS element.
 com.esri.w3c.dom.Element createLineElement(String coords)
          Creates the ArcXML Line Element.
 com.esri.w3c.dom.Element createOutputElement(String baseurl, String name, String path, String url, String legendbaseurl, String legendname, String legendpath, String legendurl, String type)
          Creates the ArcXML OUTPUT Element.
 com.esri.w3c.dom.Element createPointElement(String coords, String x, String y)
          Creates the ArcXML Point Element.
 com.esri.w3c.dom.Element createPolygonElement(String coords)
          Creates the ArcXML Polygon Element.
 com.esri.w3c.dom.Element createPropertiesElement()
          Creates the ArcXML Properties Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonElementFactory

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

Method Detail

createPropertiesElement

public com.esri.w3c.dom.Element createPropertiesElement()
Creates the ArcXML Properties Element.

Returns:
Element

createLineElement

public com.esri.w3c.dom.Element createLineElement(String coords)
Creates the ArcXML Line Element.

Parameters:
coords - the coords attribute value for the Line Element.
Returns:
an Element

createPointElement

public com.esri.w3c.dom.Element createPointElement(String coords,
                                                   String x,
                                                   String y)
Creates the ArcXML Point Element.

Parameters:
coords - the coords attribute value for the Point Element.
Returns:
an Element

createPolygonElement

public com.esri.w3c.dom.Element createPolygonElement(String coords)
Creates the ArcXML Polygon Element.

Parameters:
coords - the coords attribute value for the Polygon Element.
Returns:
an Element

createEnvelopeElement

public com.esri.w3c.dom.Element createEnvelopeElement(String minx,
                                                      String miny,
                                                      String maxx,
                                                      String maxy)
Creates the ArcXML Envelope Element.

Parameters:
minx - the minx attribute value for the Envelope Element.
miny - the miny attribute value for the Envelope Element.
maxx - the maxx attribute value for the Envelope Element.
maxy - the maxy attribute value for the Envelope Element.
Returns:
an Element

createFeatureCoordSYSElement

public com.esri.w3c.dom.Element createFeatureCoordSYSElement(String id,
                                                             String string,
                                                             String datumtransformid,
                                                             String datumtransformstring)
Creates the ArcXML FEATURECOORDSYS element.

Parameters:
id - the projected or geographic coordinate system ID.
string - the projected or geographic coordinate system definition string.
datumtransformid - the datum transormation ID.
datumtransformstring - the datum transformation definition string.
Returns:
an Element

createFilterCoordSYSElement

public com.esri.w3c.dom.Element createFilterCoordSYSElement(String id,
                                                            String string,
                                                            String datumtransformid,
                                                            String datumtransformstring)
Creates the ArcXML FILTERCOORDSYS element.

Parameters:
id - the datum transformation ID.
string - the datum transformation definition string.
datumtransformid - the projected or geographic coordinate system ID.
datumtransformstring - the projected or geographic coordinate system definition string.
Returns:
an Element

createOutputElement

public com.esri.w3c.dom.Element createOutputElement(String baseurl,
                                                    String name,
                                                    String path,
                                                    String url,
                                                    String legendbaseurl,
                                                    String legendname,
                                                    String legendpath,
                                                    String legendurl,
                                                    String type)
Creates the ArcXML OUTPUT Element.

Parameters:
baseurl - Paired with path. URL of output directory if default filename is generated by ArcIMS. Does not include a filename.
name - Paired with url. User assigns an output filename. Use full pathname along with a filename.
path - Paired with baseurl. Directory to output file generated.
url - Paired with name. URL of output file. Include filename as part of URL.
legendbaseurl - Paired with legendpath. URL of output directory if default legend filename is generated.
legendname - Paired with legendurl. Users assigns an output legend filename.
legendpath - Paired with legendbaseurl. Directory to output legend file generated by ImageServer.
legendurl - Paired with legendname. URL of output legend file.
type - Output image file type.
Returns:
an Element