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 PGEException
PGEException
public static String getNamespace(Element elem, Metadata metadata) throws PGEException
PGEException
public static String getFile(Element elem, Metadata metadata) throws PGEException
PGEException
public static Element getCustomMetadataElement(Element root) throws PGEException
PGEException
public static String getMetadataKey(Element metElem, Metadata metadata) throws PGEException
PGEException
public static boolean isMultiValue(Element elem, Metadata metadata) throws PGEException
PGEException
public static List<String> getMetadataValues(Element elem, Metadata metadata) throws PGEException
PGEException
public static String getMetadataKeyRef(Element elem, Metadata metadata) throws PGEException
PGEException
public static boolean isWorkflowMetKey(Element elem, Metadata metadata) throws PGEException
PGEException
public static String getPath(Element elem, Metadata metadata) throws PGEException
PGEException
public static String getWriter(Element elem, Metadata metadata) throws PGEException
PGEException
public static List<String> getArgs(Element elem, Metadata metadata) throws PGEException
PGEException
public static List<DynamicConfigFile> getDynamicConfigFiles(Element elem, Metadata metadata) throws PGEException
PGEException
public static Element getExe(Element elem) throws PGEException
PGEException
public static String getDir(Element elem, Metadata metadata) throws PGEException
PGEException
public static String getShellType(Element elem, Metadata metadata) throws PGEException
PGEException
public static List<String> getExeCmds(Element elem, Metadata metadata) throws PGEException
PGEException
public static Element getFileStaging(Element elem) throws PGEException
PGEException
public static boolean isForceStage(Element elem, Metadata metadata) throws PGEException
PGEException
public static String getFileStagingMetadataKey(Element elem, Metadata metadata) throws PGEException
PGEException
public static List<String> getStageFilesMetKeys(Element elem, Metadata metadata) throws PGEException
PGEException
public static Element getOutput(Element elem) throws PGEException
PGEException
public static boolean isCreateBeforeExe(Element elem, Metadata metadata) throws PGEException
PGEException
public static List<OutputDir> getOuputDirs(Element elem, Metadata metadata) throws PGEException
PGEException
public static void getRegExpOutputFiles(Element elem, Metadata metadata, OutputDir outputDir) throws PGEException
PGEException
public static String fillIn(String value, Metadata inputMetadata) throws PGEException
PGEException
public static String fillIn(String value, Metadata inputMetadata, boolean envReplaceRecur) throws PGEException
PGEException
Copyright © 1999–2017 Apache OODT. All rights reserved.