|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.w3c.tools.resources.AttributeHolder org.w3c.tools.resources.Resource org.w3c.jigsaw.config.PropertySet
public class PropertySet
Field Summary | |
---|---|
protected httpd |
server
|
Fields inherited from class org.w3c.tools.resources.Resource |
---|
ATTR_CONTEXT, ATTR_HELP_URL, ATTR_IDENTIFIER, ATTR_LAST_MODIFIED, ATTR_PARENT, ATTR_RESOURCE_FRAMES, ATTR_STORE_ENTRY, ATTR_URL, co, id |
Fields inherited from class org.w3c.tools.resources.AttributeHolder |
---|
attributes, values |
Constructor Summary | |
---|---|
PropertySet(java.lang.String name,
httpd server)
|
Method Summary | |
---|---|
protected java.lang.Object |
convertingGet(httpd s,
Attribute a,
java.lang.Object def)
|
java.lang.String |
getHelpURL()
Get this resource's help url. |
java.lang.String |
getHelpURL(java.lang.String topic)
Get the help URL for that resource's attribute. |
java.lang.String |
getTitle()
Get this property set title. |
java.lang.Object |
getValue(int idx,
java.lang.Object def)
Generic get of an attribute value. |
void |
initialize(java.lang.Object[] values)
Initialization method for attribute holders. |
void |
setValue(int idx,
java.lang.Object value)
Set value forwards the effectation to the properties. |
java.lang.Object |
unsafeGetValue(int idx,
java.lang.Object def)
Generic get of an attribute value. |
Methods inherited from class org.w3c.tools.resources.Resource |
---|
acceptUnload, checkMultipleLock, collectFrames, delete, getClone, getContext, getFrame, getFrames, getIdentifier, getLastModified, getParent, getResourceReference, getServer, getSpace, getSpaceEntry, getStoreEntry, getURLPath, getValue, initialize, isInitialized, isUnloaded, markModified, notifyUnload, pickleValues, registerFrame, setContext, setContext, setValue, unregisterFrame, unsafeGetContext, unsafeGetFrame, unsafeGetFrames, unsafeGetIdentifier, unsafeGetResourceReference, unsafeGetURLPath, updateAttributes |
Methods inherited from class org.w3c.tools.resources.AttributeHolder |
---|
definesAttribute, definesAttribute, getAttributes, getBoolean, getChar, getClone, getClone, getDouble, getFloat, getInt, getLong, getString, getValue, lookupAttribute, print, setBoolean, setChar, setDouble, setFloat, setInt, setLong, setString, setValue, unsafeDefinesAttribute, unsafeGetDouble, unsafeGetString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected httpd server
Constructor Detail |
---|
public PropertySet(java.lang.String name, httpd server)
Method Detail |
---|
public java.lang.String getTitle()
public java.lang.String getHelpURL()
getHelpURL
in class Resource
public java.lang.String getHelpURL(java.lang.String topic)
getHelpURL
in class Resource
topic
- The topic (can be an attribute name, or a property, etc).
public void setValue(int idx, java.lang.Object value)
setValue
in class Resource
idx
- The attribute (property in that case) being set.value
- The new value for that property.protected java.lang.Object convertingGet(httpd s, Attribute a, java.lang.Object def)
public java.lang.Object getValue(int idx, java.lang.Object def)
AttributeHolder
getValue
in class Resource
idx
- The index of the attribute whose value is queried.def
- The default value (if the attribute isn't defined).
public java.lang.Object unsafeGetValue(int idx, java.lang.Object def)
AttributeHolder
unsafeGetValue
in class Resource
idx
- The index of the attribute whose value is queried.def
- The default value (if the attribute isn't defined).
public void initialize(java.lang.Object[] values)
AttributeHolder
initialize
method gets called. The holder should initialize itself with the set
of provided values and perform any additional startup code.
initialize
in class Resource
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |