|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.controller.ModelXMLReader
public class ModelXMLReader
Reads Models from XML, nodes and all if desired.
Constructor Summary | |
---|---|
ModelXMLReader()
Default constructor. |
Method Summary | |
---|---|
Map |
createNodesFromXml(boolean isFindAllIds,
boolean isExternalRefRequired,
List relatedNodes,
List referenceNodes,
Node rootnode,
ExpressoRequest request,
org.dom4j.Element root,
List pickLists)
|
void |
parseAndAddNodes(boolean isExternalRefRequired,
ExpressoRequest request,
HashMap allNodesByXML_ID,
Node rootnode,
List pickListElements)
|
NodeType |
parseEntityAndParts(org.dom4j.Element origroot)
Parses an entity and its associated parts. |
Map |
parseImportXmlAndCreateNodes(boolean isFindAllIds,
boolean isExternalRefRequired,
org.dom4j.Element root,
ExpressoRequest request,
String xpathSelectionPrefix)
Parses and creates the appropriate nodes as received in the import. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModelXMLReader()
Method Detail |
---|
public NodeType parseEntityAndParts(org.dom4j.Element origroot) throws NumberFormatException, DBException
origroot
- Element the element in an XML document to parse.
NumberFormatException
- upon integer parsing error.
DBException
- upon Database exception.public Map parseImportXmlAndCreateNodes(boolean isFindAllIds, boolean isExternalRefRequired, org.dom4j.Element root, ExpressoRequest request, String xpathSelectionPrefix) throws DBException, Exception
isFindAllIds
- booleanisExternalRefRequired
- booleanroot
- Element the root element we're parsing.request
- ExpressoRequest the ControllerRequset.
DBException
- upon add error.
Exception
- upon exception.public Map createNodesFromXml(boolean isFindAllIds, boolean isExternalRefRequired, List relatedNodes, List referenceNodes, Node rootnode, ExpressoRequest request, org.dom4j.Element root, List pickLists) throws Exception
Exception
public void parseAndAddNodes(boolean isExternalRefRequired, ExpressoRequest request, HashMap allNodesByXML_ID, Node rootnode, List pickListElements) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |