|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.vocab.FieldInfoMap
public abstract class FieldInfoMap
Data structure mapping xpaths to FieldInfoReader
instances. The FieldInfoMap is instantiated by the
FrameworkConfigReader
and accessed via the
MetaDataFramework
.
Field Summary | |
---|---|
protected String |
directoryUri
|
protected HashMap |
map
|
Constructor Summary | |
---|---|
FieldInfoMap()
Constructor for the FieldInfoMap object |
|
FieldInfoMap(String uri)
Constructor for the FieldInfoMap object |
Method Summary | |
---|---|
List |
getAllFieldInfo()
Gets all the FieldInfoReaders as a list. |
FieldInfoReader |
getFieldInfo(String xpath)
Gets the fieldInfo for given xpath. |
List |
getFields()
Gets all the fields (xpaths) having FieldInfoReaders |
Set |
getKeySet()
Gets the keySet attribute of the FieldInfoMap object |
boolean |
hasFieldInfo(String xpath)
Returns true if there is a FieldInfoReader present for the specified xpath. |
abstract void |
init()
Read a listing of URIs Fields files from directoryUri and then loads each of the listed files as FieldInfoReader objects, which are stored in a map. |
protected static void |
prtln(String s)
Output a line of text to standard out, with datestamp, if debug is set to true. |
void |
putFieldInfo(String xpath,
FieldInfoReader reader)
Add a FieldInfoReader to the map. |
void |
reload()
Reload all the FieldInfoReaders in the map |
void |
removeFieldInfo(String xpath)
Description of the Method |
static void |
setDebug(boolean d)
Sets the debug attribute of the FieldInfoMap class |
String |
toString()
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected HashMap map
protected String directoryUri
Constructor Detail |
---|
public FieldInfoMap()
public FieldInfoMap(String uri)
uri
- Description of the ParameterMethod Detail |
---|
public abstract void init() throws Exception
Exception
- Description of the Exceptionpublic static void setDebug(boolean d)
d
- The new debug valuepublic void putFieldInfo(String xpath, FieldInfoReader reader)
xpath
- Description of the Parameterreader
- Description of the Parameterpublic FieldInfoReader getFieldInfo(String xpath)
xpath
- Description of the Parameter
public void removeFieldInfo(String xpath)
xpath
- Description of the Parameterpublic Set getKeySet()
public void reload() throws Exception
Exception
- Description of the Exceptionpublic List getAllFieldInfo()
public List getFields()
public boolean hasFieldInfo(String xpath)
xpath
- Description of the Parameter
public String toString()
toString
in class Object
protected static void prtln(String s)
s
- The String that will be output.
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |