|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 BaseRegistryEntry
public java.lang.String getUseragentpattern()
ClientEntry
getUseragentpattern
in interface ClientEntry
public void setUseragentpattern(java.lang.String useragentpattern)
ClientEntry
setUseragentpattern
in interface ClientEntry
useragentpattern
- the new patternpublic java.lang.String getManufacturer()
ClientEntry
getManufacturer
in interface ClientEntry
public void setManufacturer(java.lang.String name)
ClientEntry
setManufacturer
in interface ClientEntry
name
- the new manufacturerpublic java.lang.String getModel()
ClientEntry
getModel
in interface ClientEntry
public void setModel(java.lang.String name)
ClientEntry
setModel
in interface ClientEntry
name
- the new modelpublic java.lang.String getVersion()
ClientEntry
getVersion
in interface ClientEntry
public void setVersion(java.lang.String name)
ClientEntry
setVersion
in interface ClientEntry
name
- the new versionpublic MimetypeMap getMimetypeMap()
ClientEntry
MimeTypeMap
.
The MimeTypeMap
contains all mimetypes in decreasing
order of importance.
getMimetypeMap
in interface ClientEntry
MimeTypeMap
public CapabilityMap getCapabilityMap()
ClientEntry
CapabilityMap
.
The CapabilityMap
contains all capabilities in arbitrary
order.
getCapabilityMap
in interface ClientEntry
CapabilityMap
public 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 |