public class NPPProductProfile extends Object
Modifier and Type | Field and Description |
---|---|
(package private) DocumentBuilder |
db |
(package private) HashMap<String,ArrayList<Float>> |
fillValues |
private static org.slf4j.Logger |
logger |
(package private) HashMap<String,String> |
rangeMax |
(package private) HashMap<String,String> |
rangeMin |
(package private) boolean |
readFromJar |
Constructor and Description |
---|
NPPProductProfile() |
Modifier and Type | Method and Description |
---|---|
void |
addMetaDataFromFile(String fileName) |
ArrayList<Float> |
getFillValues(String name) |
String |
getProfileFileName(String attrName)
See if for a given N_Collection_Short_Name attribute, the profile is present
|
String |
getRangeMax(String name) |
String |
getRangeMin(String name) |
private static final org.slf4j.Logger logger
boolean readFromJar
HashMap<String,ArrayList<Float>> fillValues
public NPPProductProfile() throws ParserConfigurationException, SAXException, IOException
public String getProfileFileName(String attrName)
pathStr
- the directory the XML Product Profiles resideattrName
- The attribute name our file should matchpublic void addMetaDataFromFile(String fileName) throws SAXException, IOException
SAXException
IOException
public String getRangeMin(String name)
public String getRangeMax(String name)
public ArrayList<Float> getFillValues(String name)