org.apache.oodt.cas.filemgr.util
Class XmlStructFactory
java.lang.Object
org.apache.oodt.cas.filemgr.util.XmlStructFactory
public final class XmlStructFactory
- extends Object
- Version:
- $Revision: 13181 $
A Generic class for constructing File Manager objects out of XML Node
s.
- Author:
- mattmann, bfoster
Method Summary |
static Element |
getElement(Node elementNode)
|
static Document |
getElementXmlDocument(List<Element> elements)
|
static ProductType |
getProductType(Node productTypeNode)
|
static HashMap<String,List<Element>> |
getProductTypeElementList(Node typeMapNode,
HashMap<String,Element> elements)
|
static Document |
getProductTypeMapXmlDocument(HashMap<String,List<Element>> productTypeMap,
HashMap<String,String> subToSuperMap)
|
static Document |
getProductTypeXmlDocument(List<ProductType> productTypes)
|
static void |
writeElementXmlDocument(List<Element> elements,
String xmlFilePath)
|
static void |
writeProductTypeMapXmLDocument(HashMap<String,List<Element>> productTypeMap,
HashMap<String,String> subToSuperMap,
String xmlFilePath)
|
static void |
writeProductTypeXmlDocument(List<ProductType> productTypes,
String xmlFilePath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getProductType
public static ProductType getProductType(Node productTypeNode)
writeProductTypeMapXmLDocument
public static void writeProductTypeMapXmLDocument(HashMap<String,List<Element>> productTypeMap,
HashMap<String,String> subToSuperMap,
String xmlFilePath)
writeElementXmlDocument
public static void writeElementXmlDocument(List<Element> elements,
String xmlFilePath)
writeProductTypeXmlDocument
public static void writeProductTypeXmlDocument(List<ProductType> productTypes,
String xmlFilePath)
getProductTypeMapXmlDocument
public static Document getProductTypeMapXmlDocument(HashMap<String,List<Element>> productTypeMap,
HashMap<String,String> subToSuperMap)
getElementXmlDocument
public static Document getElementXmlDocument(List<Element> elements)
getProductTypeXmlDocument
public static Document getProductTypeXmlDocument(List<ProductType> productTypes)
getElement
public static Element getElement(Node elementNode)
getProductTypeElementList
public static HashMap<String,List<Element>> getProductTypeElementList(Node typeMapNode,
HashMap<String,Element> elements)
Copyright © 1999-2011 Apache OODT. All Rights Reserved.