|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.om.registry.base.BaseRegistryEntry
org.apache.jetspeed.om.registry.base.BaseClientEntry
Simple implementation of the ClientRegistry interface.
| Field Summary |
| Fields inherited from class org.apache.jetspeed.om.registry.base.BaseRegistryEntry |
_hidden, hidden, id, metaInfo, name, security, securityRef |
| Constructor Summary | |
BaseClientEntry()
|
|
| Method Summary | |
boolean |
equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal. |
BaseCapabilityMap |
getCapabilities()
|
CapabilityMap |
getCapabilityMap()
Returns all supported capablities as CapabilityMap. |
java.lang.String |
getManufacturer()
Returns the manufacturer of this client |
MimetypeMap |
getMimetypeMap()
Returns all supported mimetypes as MimeTypeMap. |
BaseMimetypeMap |
getMimetypes()
|
java.lang.String |
getModel()
Returns the model of this client |
java.lang.String |
getUseragentpattern()
Returns the pattern parameter of this client. |
java.lang.String |
getVersion()
Returns the version of this client |
void |
setCapabilities(BaseCapabilityMap capabilities)
|
void |
setManufacturer(java.lang.String name)
Sets the new manufacturer of this client |
void |
setMimetypes(BaseMimetypeMap mimetypes)
|
void |
setModel(java.lang.String name)
Sets the new model of this client |
void |
setUseragentpattern(java.lang.String useragentpattern)
Sets the pattern used to match the user agent. |
void |
setVersion(java.lang.String name)
Sets the new version of this client |
| Methods inherited from class org.apache.jetspeed.om.registry.base.BaseRegistryEntry |
getBaseMetaInfo, getBaseSecurity, getDescription, getHidden, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setBaseMetaInfo, setBaseSecurity, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.jetspeed.om.registry.RegistryEntry |
getDescription, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle |
| Constructor Detail |
public BaseClientEntry()
| Method Detail |
public boolean equals(java.lang.Object object)
equals in class BaseRegistryEntrypublic java.lang.String getUseragentpattern()
ClientEntry
getUseragentpattern in interface ClientEntrypublic void setUseragentpattern(java.lang.String useragentpattern)
ClientEntry
setUseragentpattern in interface ClientEntryuseragentpattern - the new patternpublic java.lang.String getManufacturer()
ClientEntry
getManufacturer in interface ClientEntrypublic void setManufacturer(java.lang.String name)
ClientEntry
setManufacturer in interface ClientEntryname - the new manufacturerpublic java.lang.String getModel()
ClientEntry
getModel in interface ClientEntrypublic void setModel(java.lang.String name)
ClientEntry
setModel in interface ClientEntryname - the new modelpublic java.lang.String getVersion()
ClientEntry
getVersion in interface ClientEntrypublic void setVersion(java.lang.String name)
ClientEntry
setVersion in interface ClientEntryname - the new versionpublic MimetypeMap getMimetypeMap()
ClientEntryMimeTypeMap.
The MimeTypeMap contains all mimetypes in decreasing
order of importance.
getMimetypeMap in interface ClientEntryMimeTypeMappublic CapabilityMap getCapabilityMap()
ClientEntryCapabilityMap.
The CapabilityMap contains all capabilities in arbitrary
order.
getCapabilityMap in interface ClientEntryCapabilityMappublic BaseMimetypeMap getMimetypes()
public void setMimetypes(BaseMimetypeMap mimetypes)
public BaseCapabilityMap getCapabilities()
public void setCapabilities(BaseCapabilityMap capabilities)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||