public class XmlHelper extends Object
public static Element getRootElement(String xmlFilePath) throws FileNotFoundException
FileNotFoundException
public static List<Pair<String,String>> getImports(Element elem, Metadata metadata) throws Exception
Exception
public static String getNamespace(Element elem, Metadata metadata) throws Exception
Exception
public static String getFile(Element elem, Metadata metadata) throws Exception
Exception
public static Element getCustomMetadataElement(Element root) throws Exception
Exception
public static String getMetadataKey(Element metElem, Metadata metadata) throws Exception
Exception
public static boolean isEnvReplaceNoRecur(Element elem, Metadata metadata) throws Exception
Exception
public static boolean isEnvReplace(Element elem, Metadata metadata) throws Exception
Exception
public static boolean isMultiValue(Element elem, Metadata metadata) throws Exception
Exception
public static List<String> getMetadataValues(Element elem, Metadata metadata) throws Exception
Exception
public static String getMetadataKeyRef(Element elem, Metadata metadata) throws Exception
Exception
public static boolean isWorkflowMetKey(Element elem, Metadata metadata) throws Exception
Exception
public static String getPath(Element elem, Metadata metadata) throws Exception
Exception
public static String getWriter(Element elem, Metadata metadata) throws Exception
Exception
public static List<String> getArgs(Element elem, Metadata metadata) throws Exception
Exception
public static List<DynamicConfigFile> getDynamicConfigFiles(Element elem, Metadata metadata) throws Exception
Exception
public static String getDir(Element elem, Metadata metadata) throws MalformedURLException, Exception
MalformedURLException
Exception
public static String getShellType(Element elem, Metadata metadata) throws MalformedURLException, Exception
MalformedURLException
Exception
public static List<String> getExeCmds(Element elem, Metadata metadata) throws MalformedURLException, DOMException, Exception
public static Element getFileStaging(Element elem) throws Exception
Exception
public static boolean isForceStage(Element elem, Metadata metadata) throws Exception
Exception
public static String getFileStagingMetadataKey(Element elem, Metadata metadata) throws Exception
Exception
public static List<String> getStageFilesMetKeys(Element elem, Metadata metadata) throws Exception
Exception
public static boolean isCreateBeforeExe(Element elem, Metadata metadata) throws Exception
Exception
public static List<OutputDir> getOuputDirs(Element elem, Metadata metadata) throws Exception
Exception
public static void getRegExpOutputFiles(Element elem, Metadata metadata, OutputDir outputDir) throws Exception
Exception
public static String fillIn(String value, Metadata inputMetadata) throws Exception
Exception
Copyright © 1999-2015 Apache OODT. All Rights Reserved.