com.esri.arcgis.carto
Class ExportInfoGenerator

java.lang.Object
  extended by com.esri.arcgis.carto.ExportInfoGenerator
All Implemented Interfaces:
IExportInfoGenerator, IFeatureExportInfoGenerator, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class ExportInfoGenerator
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IExportInfoGenerator, IFeatureExportInfoGenerator

COM Class 'ExportInfoGenerator'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'Generates information for exporting into the display.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.carto.IExportInfoGenerator
IID, IID520c94fd_8858_4ead_b72a_cb36515bdaee, xxDummy
 
Fields inherited from interface com.esri.arcgis.carto.IFeatureExportInfoGenerator
IID, IID2b13a65c_4e76_4ff5_8de4_cec8604ba8e5, xxDummy
 
Constructor Summary
ExportInfoGenerator()
          Constructs a ExportInfoGenerator using ArcGIS Engine.
ExportInfoGenerator(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ExportInfoGenerator theExportInfoGenerator = (ExportInfoGenerator) obj;
 
Method Summary
 void addFeatureAttribute(IDisplay display, int fieldType, java.lang.String fieldName, java.lang.String fieldValue)
          Generates export information for a feature attribute.
 void beginFeature(IFeature feature, IDisplay display)
          Generates export information that a feature is starting to draw.
 void beginFeatureAttributes(IDisplay display)
          Generates export information to begin the exporting of feature attributes.
 void beginGroup(IDisplay pDisplay, java.lang.String comment)
          Generates export information that a group is starting to draw.
 void beginLayer(IDisplay pDisplay, java.lang.String comment)
          Generates export information that a layer is starting to draw.
 void beginLayerWithName(IDisplay pDisplay, ILayer pLayer)
          Generates export information that a layer is starting to draw.
 void beginLayerWithNameAndPhase(IDisplay pDisplay, ILayer pLayer, int viewDrawPhase)
          Generates export information that a layer is starting to draw.
 void beginMap(IDisplay pDisplay, int hDC, IMap pMap)
          Generates export information that a map is starting to draw.
 void beginPageLayout(int hDC, int focusMap)
          Generates export information that a page layout is starting to draw.
 void beginText(IDisplay pDisplay, int type, int kerning, double tracking, double widthScale, double wordSpace, double lineLeading, java.lang.String text)
          Generates export information about text that is starting to draw.
 void endFeature(IDisplay display)
          Generates export information that a feature finished to draw.
 void endFeatureAttributes(IDisplay display)
          Generates export information to end the exportng of feature attributes.
 void endGroup(IDisplay pDisplay)
          Generates export information that a group finished to draw.
 void endLayer(IDisplay pDisplay)
          Generates export information that a layer finished to draw.
 void endMap(int hDC)
          Generates export information that a map finished to draw.
 void endPageLayout(int hDC)
          Generates export information that a page layout finished to draw.
 void endText(IDisplay pDisplay)
          Generates export information that a started text has ended.
 boolean equals(java.lang.Object o)
          Compare this object with another
 void generateFeatureInfo(IFeature feature, IDisplay display)
          Generates export information (attributes) for a feature into the display.
 void generateHyperlinkInfo(IFeature feature, IDisplay display)
          Generates export information (hyperlinks, hotlinks) for a feature into the display.
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 void prepareExportFilter(IFeatureClass fc, IQueryFilter filter)
          Adds the exported fields to the filter.
 void release()
          Release a ExportInfoGenerator.
 void setCmykColor(IDisplay pDisplay, int cmykColor, boolean spotColor, int colorType)
          Generates export information for a CMYK-color.
 void setHotlinkContainerByRef(IHotlinkContainer rhs1)
          The hotlink container.
 void setHyperlinkContainerByRef(IHyperlinkContainer rhs1)
          The hyperlink container.
 void setLayerFieldsByRef(ILayerFields rhs1)
          The layer fields.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportInfoGenerator

public ExportInfoGenerator()
                    throws java.io.IOException,
                           java.net.UnknownHostException
Constructs a ExportInfoGenerator using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

ExportInfoGenerator

public ExportInfoGenerator(java.lang.Object obj)
                    throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
ExportInfoGenerator theExportInfoGenerator = (ExportInfoGenerator) obj;

Construct a ExportInfoGenerator using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to ExportInfoGenerator.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a ExportInfoGenerator.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

beginText

public void beginText(IDisplay pDisplay,
                      int type,
                      int kerning,
                      double tracking,
                      double widthScale,
                      double wordSpace,
                      double lineLeading,
                      java.lang.String text)
               throws java.io.IOException,
                      AutomationException
Generates export information about text that is starting to draw.

Specified by:
beginText in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
type - The type (in)
kerning - The kerning (in)
tracking - The tracking (in)
widthScale - The widthScale (in)
wordSpace - The wordSpace (in)
lineLeading - The lineLeading (in)
text - The text (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endText

public void endText(IDisplay pDisplay)
             throws java.io.IOException,
                    AutomationException
Generates export information that a started text has ended.

Specified by:
endText in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCmykColor

public void setCmykColor(IDisplay pDisplay,
                         int cmykColor,
                         boolean spotColor,
                         int colorType)
                  throws java.io.IOException,
                         AutomationException
Generates export information for a CMYK-color.

Specified by:
setCmykColor in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
cmykColor - The cmykColor (A COM typedef) (in)
spotColor - The spotColor (in)
colorType - The colorType (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginLayer

public void beginLayer(IDisplay pDisplay,
                       java.lang.String comment)
                throws java.io.IOException,
                       AutomationException
Generates export information that a layer is starting to draw. Adds the comment to the information.

Specified by:
beginLayer in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
comment - The comment (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginLayerWithName

public void beginLayerWithName(IDisplay pDisplay,
                               ILayer pLayer)
                        throws java.io.IOException,
                               AutomationException
Generates export information that a layer is starting to draw. Adds the layer name to the information.

Specified by:
beginLayerWithName in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginLayerWithNameAndPhase

public void beginLayerWithNameAndPhase(IDisplay pDisplay,
                                       ILayer pLayer,
                                       int viewDrawPhase)
                                throws java.io.IOException,
                                       AutomationException
Generates export information that a layer is starting to draw. Adds the layer name and draw phase to the information.

Specified by:
beginLayerWithNameAndPhase in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
pLayer - A reference to a com.esri.arcgis.carto.ILayer (in)
viewDrawPhase - A com.esri.arcgis.carto.esriViewDrawPhase constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endLayer

public void endLayer(IDisplay pDisplay)
              throws java.io.IOException,
                     AutomationException
Generates export information that a layer finished to draw.

Specified by:
endLayer in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginGroup

public void beginGroup(IDisplay pDisplay,
                       java.lang.String comment)
                throws java.io.IOException,
                       AutomationException
Generates export information that a group is starting to draw.

Specified by:
beginGroup in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
comment - The comment (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endGroup

public void endGroup(IDisplay pDisplay)
              throws java.io.IOException,
                     AutomationException
Generates export information that a group finished to draw.

Specified by:
endGroup in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginMap

public void beginMap(IDisplay pDisplay,
                     int hDC,
                     IMap pMap)
              throws java.io.IOException,
                     AutomationException
Generates export information that a map is starting to draw.

Specified by:
beginMap in interface IExportInfoGenerator
Parameters:
pDisplay - A reference to a com.esri.arcgis.display.IDisplay (in)
hDC - The hDC (A COM typedef) (in)
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endMap

public void endMap(int hDC)
            throws java.io.IOException,
                   AutomationException
Generates export information that a map finished to draw.

Specified by:
endMap in interface IExportInfoGenerator
Parameters:
hDC - The hDC (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginPageLayout

public void beginPageLayout(int hDC,
                            int focusMap)
                     throws java.io.IOException,
                            AutomationException
Generates export information that a page layout is starting to draw.

Specified by:
beginPageLayout in interface IExportInfoGenerator
Parameters:
hDC - The hDC (A COM typedef) (in)
focusMap - The focusMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endPageLayout

public void endPageLayout(int hDC)
                   throws java.io.IOException,
                          AutomationException
Generates export information that a page layout finished to draw.

Specified by:
endPageLayout in interface IExportInfoGenerator
Parameters:
hDC - The hDC (A COM typedef) (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerFieldsByRef

public void setLayerFieldsByRef(ILayerFields rhs1)
                         throws java.io.IOException,
                                AutomationException
The layer fields.

Specified by:
setLayerFieldsByRef in interface IFeatureExportInfoGenerator
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayerFields (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHyperlinkContainerByRef

public void setHyperlinkContainerByRef(IHyperlinkContainer rhs1)
                                throws java.io.IOException,
                                       AutomationException
The hyperlink container.

Specified by:
setHyperlinkContainerByRef in interface IFeatureExportInfoGenerator
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IHyperlinkContainer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHotlinkContainerByRef

public void setHotlinkContainerByRef(IHotlinkContainer rhs1)
                              throws java.io.IOException,
                                     AutomationException
The hotlink container.

Specified by:
setHotlinkContainerByRef in interface IFeatureExportInfoGenerator
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IHotlinkContainer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

prepareExportFilter

public void prepareExportFilter(IFeatureClass fc,
                                IQueryFilter filter)
                         throws java.io.IOException,
                                AutomationException
Adds the exported fields to the filter. Needs layer fields.

Specified by:
prepareExportFilter in interface IFeatureExportInfoGenerator
Parameters:
fc - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
filter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateFeatureInfo

public void generateFeatureInfo(IFeature feature,
                                IDisplay display)
                         throws java.io.IOException,
                                AutomationException
Generates export information (attributes) for a feature into the display. Needs layer fields.

Specified by:
generateFeatureInfo in interface IFeatureExportInfoGenerator
Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

generateHyperlinkInfo

public void generateHyperlinkInfo(IFeature feature,
                                  IDisplay display)
                           throws java.io.IOException,
                                  AutomationException
Generates export information (hyperlinks, hotlinks) for a feature into the display.

Specified by:
generateHyperlinkInfo in interface IFeatureExportInfoGenerator
Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginFeature

public void beginFeature(IFeature feature,
                         IDisplay display)
                  throws java.io.IOException,
                         AutomationException
Generates export information that a feature is starting to draw.

Specified by:
beginFeature in interface IFeatureExportInfoGenerator
Parameters:
feature - A reference to a com.esri.arcgis.geodatabase.IFeature (in)
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endFeature

public void endFeature(IDisplay display)
                throws java.io.IOException,
                       AutomationException
Generates export information that a feature finished to draw.

Specified by:
endFeature in interface IFeatureExportInfoGenerator
Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

beginFeatureAttributes

public void beginFeatureAttributes(IDisplay display)
                            throws java.io.IOException,
                                   AutomationException
Generates export information to begin the exporting of feature attributes.

Specified by:
beginFeatureAttributes in interface IFeatureExportInfoGenerator
Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addFeatureAttribute

public void addFeatureAttribute(IDisplay display,
                                int fieldType,
                                java.lang.String fieldName,
                                java.lang.String fieldValue)
                         throws java.io.IOException,
                                AutomationException
Generates export information for a feature attribute.

Specified by:
addFeatureAttribute in interface IFeatureExportInfoGenerator
Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
fieldType - A com.esri.arcgis.geodatabase.esriFieldType constant (in)
fieldName - The fieldName (in)
fieldValue - The fieldValue (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

endFeatureAttributes

public void endFeatureAttributes(IDisplay display)
                          throws java.io.IOException,
                                 AutomationException
Generates export information to end the exportng of feature attributes.

Specified by:
endFeatureAttributes in interface IFeatureExportInfoGenerator
Parameters:
display - A reference to a com.esri.arcgis.display.IDisplay (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.