|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tauzaman.property.FieldInfo
FieldInfo
class keeps the content of an XML element,
called fieldInfo, in a Property
specification
file.
fieldInfo element contains attributes that store a Field Name, a Format Variable Name and a Field Value Table|Function name.
XML Representation of Properties
Property
,
Field
,
Fields
Field Summary | |
private java.lang.String |
name
Name of the Field . |
private java.net.URL |
using
URL of the Field Value service (name of the table or function) to be used. |
private java.lang.String |
variable
Variable name that is stored in format string. |
Constructor Summary | |
FieldInfo(org.w3c.dom.Element root,
java.util.Hashtable fvMapper,
java.net.URL url)
Constructs a FieldInfo object, from given DOM node parsed
from Property Specification file. |
Method Summary | |
private void |
formFieldInfo(org.w3c.dom.Element root,
java.util.Hashtable fvMapper,
java.net.URL url)
Initializes this FieldInfo from DOM Node, which points to
a fieldInfo element in the Property Specification file. |
java.lang.String |
getFieldInfoName()
Returns the Field Name of this FieldInfo |
java.net.URL |
getFVSUrl()
Returns the URL of the FVS service table|function. |
java.lang.String |
getVariableName()
Returns the name of the variable |
java.lang.String |
toString()
toString method |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private java.lang.String variable
private java.lang.String name
Field
.
private java.net.URL using
Constructor Detail |
public FieldInfo(org.w3c.dom.Element root, java.util.Hashtable fvMapper, java.net.URL url) throws PropertyFormationException
FieldInfo
object, from given DOM node parsed
from Property Specification file.
root
- DOM ElementfvMapper
- A Hashtable, which maps field value support labels to their urls.
This information is passed by PropertyRepository
since this information
resides in Property specification file (as helper) rather than in individual Properties.url
- URL of Property Specification file this ImportFormat is gotten
PropertyFormationException
- if any problem occurs
when parsing the property specification fileMethod Detail |
private void formFieldInfo(org.w3c.dom.Element root, java.util.Hashtable fvMapper, java.net.URL url) throws PropertyFormationException
FieldInfo
from DOM Node, which points to
a fieldInfo element in the Property Specification file.
root
- DOM ElementfvMapper
- A Hashtable, which maps field value support labels to their urls.
This information is passed by PropertyRepository
since this information
resides in Property specification file (as helper) rather than in individual Properties.url
- URL of Property Specification file this ImportFormat is gotten
PropertyFormationException
- if any problem occurs
when parsing the property specification filepublic java.lang.String getVariableName()
public java.lang.String getFieldInfoName()
Field
Name of this FieldInfo
Field
Field
public java.net.URL getFVSUrl()
public java.lang.String toString()
toString
in class java.lang.Object
|
tauZaman v0.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |