de.interactive_instruments.ShapeChange.Target
Interface Target

All Known Subinterfaces:
SingleTarget
All Known Implementing Classes:
AppConfiguration, ArcGISWorkspace, CodelistDictionaries, CodelistDictionariesML, CodelistRegister, Definitions, Excel, FeatureCatalogue, JsonSchema, OWLISO19150, RDF, SqlDdl, UmlModel, XmlSchema, XSLT

public interface Target


Method Summary
 int getTargetID()
           
 void initialise(PackageInfo pi, Model m, Options o, ShapeChangeResult r, boolean diagOnly)
          Allows a target to perform the necessary initialization routines before processing.
 void process(ClassInfo ci)
          The converter will call this method for each class belonging to the package given during initialization (see initialise(de.interactive_instruments.ShapeChange.Model.PackageInfo, de.interactive_instruments.ShapeChange.Model.Model, de.interactive_instruments.ShapeChange.Options, de.interactive_instruments.ShapeChange.ShapeChangeResult, boolean)).
 void write()
           
 

Method Detail

initialise

void initialise(PackageInfo pi,
                Model m,
                Options o,
                ShapeChangeResult r,
                boolean diagOnly)
                throws ShapeChangeAbortException
Allows a target to perform the necessary initialization routines before processing.

Will be called by the Converter for each selected schema (see Model.selectedSchemas() and PackageInfo.isSchema()).

Parameters:
pi - a schema from the model selected via the configuration (see Model.selectedSchemas()) - not necessarily always an application schema
m -
o -
r -
diagOnly -
Throws:
ShapeChangeAbortException
See Also:
Model.selectedSchemas(), PackageInfo.isSchema()

process

void process(ClassInfo ci)
The converter will call this method for each class belonging to the package given during initialization (see initialise(de.interactive_instruments.ShapeChange.Model.PackageInfo, de.interactive_instruments.ShapeChange.Model.Model, de.interactive_instruments.ShapeChange.Options, de.interactive_instruments.ShapeChange.ShapeChangeResult, boolean)).

NOTE: will be called not only for the classes directly contained in the package, but also all sub-packages belonging to the same targetNamespace!

Parameters:
ci -

write

void write()

getTargetID

int getTargetID()


Copyright © 2015. All rights reserved.