public class XFTSchema extends Object
Modifier and Type | Field and Description |
---|---|
protected static ArrayList |
tempElements |
Constructor and Description |
---|
XFTSchema(Document doc,
String dir,
XFTDataModel data)
Constructs an XFTSchema object from the XML DOM Document.
|
protected static ArrayList tempElements
public XFTSchema(Document doc, String dir, XFTDataModel data) throws XFTInitException, ElementNotFoundException
doc
- XML DOM Documentdir
- Directory of the xsd documentdata
- parentXFTInitException
ElementNotFoundException
public boolean isRootSingleElement(Node element)
public String getDbType()
public Hashtable getElementsByName()
public void addElement(XFTElement xe)
xe
- protected Hashtable getElementsByCode()
public Document toXML()
public XFTWebAppSchema getWebAppSchema()
public void setWebAppSchema(XFTWebAppSchema schema)
schema
- protected ArrayList getWrappedElementsByName(XFTFactoryI xef)
xef
- protected ArrayList getWrappedElementsByCode(XFTFactoryI xef)
xef
- protected XFTElementWrapper getWrappedElementByCode(XFTFactoryI xef, String type)
xef
- type
- protected XFTElementWrapper getWrappedElementByName(XFTFactoryI xef, String name)
xef
- name
- protected XFTElementWrapper getWrappedElementBySQLName(XFTFactoryI xef, String name)
xef
- name
- protected XFTElementWrapper getWrappedElementByObject(XFTFactoryI xef, Object o)
xef
- o
- protected XFTElementWrapper getWrappedElementByJavaName(XFTFactoryI xef, String name)
xef
- name
- public ArrayList getSortedElements()
public ArrayList getSortedElementNames()
public ArrayList getWrappedElementsSorted(XFTFactoryI xef)
xef
- protected Hashtable getElementsByJavaName()
protected Hashtable getElementsBySQLName()
public static void OutputSchema()
public String getXMLNS()
public void setXMLNS(String string)
string
- public XFTDataModel getDataModel()
public void setDataModel(XFTDataModel data)
string
- public String getTargetNamespacePrefix()
public String getTargetNamespaceURI()
public XMLType getBasicDataType(String type)
type
- public String getJavaPackageName()
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.