|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Target.KML.XSLT
public class XSLT
Field Summary | |
---|---|
static int |
TARGET_KMLXSLT
|
Constructor Summary | |
---|---|
XSLT()
|
Method Summary | |
---|---|
protected void |
addAttribute(Document document,
Element e,
String name,
String value)
Add attribute to an element |
protected Document |
createDocument()
|
protected boolean |
createFolders(PackageInfo pix,
Element e,
int level)
Create folder structure |
int |
getTargetID()
|
void |
initialise(PackageInfo p,
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 Target.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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int TARGET_KMLXSLT
Constructor Detail |
---|
public XSLT()
Method Detail |
---|
public void initialise(PackageInfo p, Model m, Options o, ShapeChangeResult r, boolean diagOnly) throws ShapeChangeAbortException
Target
Will be called by the Converter
for each selected schema (see
Model.selectedSchemas()
and PackageInfo.isSchema()
).
initialise
in interface Target
p
- a schema from the model selected via the configuration (see
Model.selectedSchemas()
) - not necessarily always an
application schema
ShapeChangeAbortException
Model.selectedSchemas()
,
PackageInfo.isSchema()
protected boolean createFolders(PackageInfo pix, Element e, int level) throws Exception
Exception
protected void addAttribute(Document document, Element e, String name, String value)
protected Document createDocument()
public void process(ClassInfo ci)
Target
Target.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!
process
in interface Target
public void write()
write
in interface Target
public int getTargetID()
getTargetID
in interface Target
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |