|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.beans.FeatureDescriptor atg.beans.SerializableFeatureDescriptor atg.beans.DynamicPropertyDescriptor atg.repository.RepositoryPropertyDescriptor atg.repository.MimeTyperPropertyDescriptor
public class MimeTyperPropertyDescriptor
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.repository.RepositoryPropertyDescriptor |
---|
EMPTY_LIST, EMPTY_MAP, EMPTY_SET, FOREIGN_REPOSITORY_NAME, FOREIGN_REPOSITORY_PATH, mCollectionOrMap |
Fields inherited from class atg.beans.DynamicPropertyDescriptor |
---|
PORTABLE_VALUE_KEY |
Fields inherited from class atg.beans.SerializableFeatureDescriptor |
---|
BUNDLE_ATTRIBUTE_NAME, LOCALE_ATTRIBUTE_NAME |
Constructor Summary | |
---|---|
MimeTyperPropertyDescriptor()
Constructs an instanceof MimeTyperPropertyDescriptor |
|
MimeTyperPropertyDescriptor(java.lang.String pPropertyName)
Constructs an instanceof MimeTyperPropertyDescriptor |
|
MimeTyperPropertyDescriptor(java.lang.String pPropertyName,
java.lang.Class pPropertyType,
java.lang.String pShortDescription)
Constructs an instanceof MimeTyperPropertyDescriptor |
Method Summary | |
---|---|
MimeTyper |
getMimeTyper()
Returns property MimeTyper |
java.lang.Object |
getPropertyValue(RepositoryItemImpl pItem,
java.lang.Object pValue)
Returns the mime-type based on the file extension. |
java.lang.String |
getTypeName()
Returns the name this type uses in the XML file. |
protected void |
initialize(RepositoryItemImpl pItem,
java.lang.Object pValue)
Invoked each time getPropertyValue is called. |
boolean |
isQueryable()
Returns property Queryable |
boolean |
isWritable()
Returns property Writable. |
void |
setMimeTyper(MimeTyper pMimeTyper)
Sets property MimeTyper |
void |
setValue(java.lang.String pAttributeName,
java.lang.Object pValue)
Looks for an attribute named identifier . |
Methods inherited from class atg.beans.SerializableFeatureDescriptor |
---|
copyFeatureDescriptor, getDisplayName, getDisplayNameResource, getDisplaySortString, getShortDescription, getShortDescriptionResource, getSortString, setDisplayNameResource, setShortDescriptionResource |
Methods inherited from class java.beans.FeatureDescriptor |
---|
attributeNames, getName, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public MimeTyperPropertyDescriptor()
public MimeTyperPropertyDescriptor(java.lang.String pPropertyName)
public MimeTyperPropertyDescriptor(java.lang.String pPropertyName, java.lang.Class pPropertyType, java.lang.String pShortDescription)
Method Detail |
---|
public void setMimeTyper(MimeTyper pMimeTyper)
public MimeTyper getMimeTyper()
public boolean isQueryable()
isQueryable
in class RepositoryPropertyDescriptor
public boolean isWritable()
isWritable
in class DynamicPropertyDescriptor
protected void initialize(RepositoryItemImpl pItem, java.lang.Object pValue)
public java.lang.Object getPropertyValue(RepositoryItemImpl pItem, java.lang.Object pValue)
getPropertyValue
in class RepositoryPropertyDescriptor
public void setValue(java.lang.String pAttributeName, java.lang.Object pValue)
identifier
.
setValue
in class RepositoryPropertyDescriptor
public java.lang.String getTypeName()
getTypeName
in class RepositoryPropertyDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |