org.eclipse.datatools.enablement.oda.xml.util.ui
Class SchemaPopulationUtil
java.lang.Object
org.eclipse.datatools.enablement.oda.xml.util.ui.SchemaPopulationUtil
public class SchemaPopulationUtil
- extends java.lang.Object
This class is used to offer GUI a utility to get an tree from certain xml/xsd
file.
|
Method Summary |
static java.util.Map |
getPrefixMapping(java.lang.String xmlFileName,
java.lang.String xmlEncoding)
|
static ATreeNode |
getSchemaTree(java.lang.String xsdFileName,
java.lang.String xmlFileName,
int numberOfElementsAccessiable)
Get the schema tree's root node |
static ATreeNode |
getSchemaTree(java.lang.String xsdFileName,
java.lang.String xmlFileName,
java.lang.String xmlEncoding,
int numberOfElementsAccessiable)
Get the schema tree's root node |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaPopulationUtil
public SchemaPopulationUtil()
getPrefixMapping
public static java.util.Map getPrefixMapping(java.lang.String xmlFileName,
java.lang.String xmlEncoding)
throws OdaException
- Returns:
-
- Throws:
OdaException
getSchemaTree
public static ATreeNode getSchemaTree(java.lang.String xsdFileName,
java.lang.String xmlFileName,
java.lang.String xmlEncoding,
int numberOfElementsAccessiable)
throws OdaException,
java.net.MalformedURLException,
java.net.URISyntaxException
- Get the schema tree's root node
- Parameters:
xsdFileName - xmlFileName - xmlEncoding - numberOfElementsAccessiable -
- Returns:
-
- Throws:
OdaException
java.net.MalformedURLException
java.net.URISyntaxException
getSchemaTree
public static ATreeNode getSchemaTree(java.lang.String xsdFileName,
java.lang.String xmlFileName,
int numberOfElementsAccessiable)
throws OdaException,
java.net.MalformedURLException,
java.net.URISyntaxException
- Get the schema tree's root node
- Parameters:
xsdFileName -
- Throws:
java.net.MalformedURLException
java.net.URISyntaxException
OdaException