com.esri.arcgis.schematic
Class SchematicImport

java.lang.Object
  extended by com.esri.arcgis.schematic.SchematicImport
All Implemented Interfaces:
com.esri.arcgis.interop.RemoteObjRef, ISchematicImport, Serializable

public class SchematicImport
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, ISchematicImport

Object used to import Feature Layers, Object Classes or Symbols into a schematic dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Constructor Summary
SchematicImport()
          Constructs a SchematicImport using ArcGIS Engine.
SchematicImport(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicImport theSchematicImport = (SchematicImport) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 void exportSymbols(ISchematicDataset schematicDataset, String destPathName)
          Exports the CGM symbols stored in the specified schematic dataset into the specified location.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void importFeatureLayer(IFeatureLayer featureLayer, ISchematicDataset schematicDataset, String diagramClassName, boolean symbology, boolean overwriteSymbols, boolean staticStorage)
          Imports the specified feature layer into the specified schematic dataset for the specified schematic diagram class.
 void importNgProject(INgProject ngProject, ISchematicDataset schematicDataset)
          Import an NgProject into a SchematicDataset.
 void importObjectClass(IObjectClass objectClass, ISchematicDataset schematicDataset, String diagramClassName, boolean forceElementType, int ngType)
          Imports the specified objectClass into the specified schematic dataset for the specified schematic diagram class.
 void importSymbols(IFileNames __MIDL_0011, ISchematicDataset schematicDataset)
          Imports the CGM symbols files stored at the specified location into the specified schematic dataset.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

SchematicImport

public SchematicImport()
                throws IOException,
                       UnknownHostException
Constructs a SchematicImport using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

SchematicImport

public SchematicImport(Object obj)
                throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
SchematicImport theSchematicImport = (SchematicImport) obj;

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

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

getClsid

public static String getClsid()
getClsid.


equals

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

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

importObjectClass

public void importObjectClass(IObjectClass objectClass,
                              ISchematicDataset schematicDataset,
                              String diagramClassName,
                              boolean forceElementType,
                              int ngType)
                       throws IOException,
                              AutomationException
Imports the specified objectClass into the specified schematic dataset for the specified schematic diagram class.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
importObjectClass in interface ISchematicImport
Parameters:
objectClass - A reference to a com.esri.arcgis.geodatabase.IObjectClass (in)
schematicDataset - A reference to a com.esri.arcgis.schematic.ISchematicDataset (in)
diagramClassName - The diagramClassName (in)
forceElementType - The forceElementType (in, optional, pass false if not required)
ngType - A com.esri.arcgis.schematic.esriNgElementTypeEnum constant (in, optional, pass 2006 if not required)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISchematicImport.importFeatureLayer(com.esri.arcgis.carto.IFeatureLayer, com.esri.arcgis.schematic.ISchematicDataset, String, boolean, boolean, boolean)

importFeatureLayer

public void importFeatureLayer(IFeatureLayer featureLayer,
                               ISchematicDataset schematicDataset,
                               String diagramClassName,
                               boolean symbology,
                               boolean overwriteSymbols,
                               boolean staticStorage)
                        throws IOException,
                               AutomationException
Imports the specified feature layer into the specified schematic dataset for the specified schematic diagram class.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
importFeatureLayer in interface ISchematicImport
Parameters:
featureLayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
schematicDataset - A reference to a com.esri.arcgis.schematic.ISchematicDataset (in)
diagramClassName - The diagramClassName (in)
symbology - The symbology (in)
overwriteSymbols - The overwriteSymbols (in)
staticStorage - The staticStorage (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISchematicImport.importObjectClass(com.esri.arcgis.geodatabase.IObjectClass, com.esri.arcgis.schematic.ISchematicDataset, String, boolean, int)

exportSymbols

public void exportSymbols(ISchematicDataset schematicDataset,
                          String destPathName)
                   throws IOException,
                          AutomationException
Exports the CGM symbols stored in the specified schematic dataset into the specified location.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
exportSymbols in interface ISchematicImport
Parameters:
schematicDataset - A reference to a com.esri.arcgis.schematic.ISchematicDataset (in)
destPathName - The destPathName (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISchematicImport.importSymbols(com.esri.arcgis.system.IFileNames, com.esri.arcgis.schematic.ISchematicDataset)

importSymbols

public void importSymbols(IFileNames __MIDL_0011,
                          ISchematicDataset schematicDataset)
                   throws IOException,
                          AutomationException
Imports the CGM symbols files stored at the specified location into the specified schematic dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
importSymbols in interface ISchematicImport
Parameters:
__MIDL_0011 - A reference to a com.esri.arcgis.system.IFileNames (in)
schematicDataset - A reference to a com.esri.arcgis.schematic.ISchematicDataset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
See Also:
ISchematicImport.exportSymbols(com.esri.arcgis.schematic.ISchematicDataset, String)

importNgProject

public void importNgProject(INgProject ngProject,
                            ISchematicDataset schematicDataset)
                     throws IOException,
                            AutomationException
Import an NgProject into a SchematicDataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
importNgProject in interface ISchematicImport
Parameters:
ngProject - A reference to a com.esri.arcgis.schematic.INgProject (in)
schematicDataset - A reference to a com.esri.arcgis.schematic.ISchematicDataset (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.