public class JavaScriptGenerator extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
VERSION5 |
Constructor and Description |
---|
JavaScriptGenerator() |
Modifier and Type | Method and Description |
---|---|
TreeMap |
addXMLNSAttributes() |
void |
generateJSFile(GenericWrapperElement e,
String location) |
static void |
GenerateJSFiles(String javalocation,
boolean skipXDAT) |
String |
getRootName(XMLWrapperElement element) |
Hashtable<String,String> |
getSubVariables(GenericWrapperElement e,
XMLWrapperField xmlField,
boolean isRoot) |
static void |
outputToFile(String location,
String contents,
String fileName) |
int |
writeFieldToXMLCode(GenericWrapperElement e,
XMLWrapperField xmlField,
int iterCounter,
StringBuffer sb) |
public void generateJSFile(GenericWrapperElement e, String location) throws Exception
e
- location
- Exception
public Hashtable<String,String> getSubVariables(GenericWrapperElement e, XMLWrapperField xmlField, boolean isRoot)
public int writeFieldToXMLCode(GenericWrapperElement e, XMLWrapperField xmlField, int iterCounter, StringBuffer sb)
public TreeMap addXMLNSAttributes()
public String getRootName(XMLWrapperElement element)
public static void GenerateJSFiles(String javalocation, boolean skipXDAT) throws Exception
Exception
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.