|
tauZaman v0.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--tauzaman.property.Property
Property class is the representation of a single property
Properties are two types:
<property name = "..." value = "..." />
<property name = "..." > <value> ... </value> </property>
Property,
FieldInfo,
ImportFormat,
Format| Constructor Summary | |
Property(java.lang.String name,
java.net.URL url,
org.w3c.dom.Element root,
java.util.Hashtable fvMapper)
Constructs a Property, from a given DOM Node,
parsed from Property Specification file. |
|
| Method Summary | |
PropertyCache |
getCache()
Returns PropertyCache object of this
Property. |
java.lang.String |
getContent()
If simple type then return content, o.w. return null. |
FieldInfo[] |
getFieldInfos()
Return the field value List |
Format[] |
getFormats()
Return the format list |
ImportFormat[] |
getImportFormats()
Return the import format list |
java.lang.String |
getName()
Returns the string name of this Property. |
java.net.URL |
getUrl()
Returns URL of this Property. |
boolean |
hasCache()
Returns true if this Property has already been loaded for
Input/Output reasons. |
boolean |
isSimpleType()
Returns the type of this Value |
void |
setCache(PropertyCache cache)
Sets PropertyCache object of this
Property. |
java.lang.String |
toString()
toString method |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Property(java.lang.String name,
java.net.URL url,
org.w3c.dom.Element root,
java.util.Hashtable fvMapper)
throws PropertyFormationException
Property, from a given DOM Node,
parsed from Property Specification file.
root - a DOM node of parsed Property Specification filefvMapper - 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.
PropertyFormationException - if any problem occurs
when parsing the property specification file| Method Detail |
public boolean hasCache()
Property has already been loaded for
Input/Output reasons.
PropertyCache object of this
Property. False otherwise.public PropertyCache getCache()
PropertyCache object of this
Property.
PropertyCache object of this
Propertypublic void setCache(PropertyCache cache)
PropertyCache object of this
Property.
public boolean isSimpleType()
public java.lang.String getName()
Property.
Propertypublic java.net.URL getUrl()
Property.
Propertypublic java.lang.String getContent()
public FieldInfo[] getFieldInfos()
FieldInfopublic Format[] getFormats()
Formatpublic ImportFormat[] getImportFormats()
ImportFormatpublic 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 | |||||||||