Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.jst.jsf.taglibprocessing.attributevalues
Class ContentType

java.lang.Object
  extended by 

org.eclipse.jst.jsf.metadataprocessors.AbstractMetaDataEnabledFeature
      extended by 

org.eclipse.jst.jsf.metadataprocessors.AbstractRootTypeDescriptor
          extended by 

org.eclipse.jst.jsf.taglibprocessing.attributevalues.AbstractEnumerationType
              extended by 

org.eclipse.jst.jsf.taglibprocessing.attributevalues.EnumerationType
                  extended by 
org.eclipse.jst.jsf.taglibprocessing.attributevalues.ContentType
All Implemented Interfaces:
IDefaultValue, IPossibleValues, IValidELValues, IValidValues, IMetaDataEnabledFeature, ITypeDescriptor

public class ContentType
extends EnumerationType
implements IPossibleValues

Meta-data processing type representing a content (MIME) type. A ContentType is defined as in 4.0 html spec https://www.w3.org/TR/html401/types.html#h-6.7

Provisional API - subject to change


Field Summary
 
Fields inherited from interface org.eclipse.jst.jsf.metadataprocessors.features. IPossibleValues
POSSIBLE_VALUES_FOR_DISPLAY_PROP_NAME, POSSIBLE_VALUES_PROP_NAME, POSSIBLE_VALUES_SMALL_ICON_PROP_NAME
 
Fields inherited from interface org.eclipse.jst.jsf.metadataprocessors.features. IValidValues
VALID_VALUES_CODE_PROP_NAME, VALID_VALUES_MAX_PROP_NAME, VALID_VALUES_MESSAGE_PROP_NAME, VALID_VALUES_MIN_PROP_NAME, VALID_VALUES_PROP_NAME, VALID_VALUES_SEVERITY_PROP_NAME
 
Fields inherited from interface org.eclipse.jst.jsf.metadataprocessors.features. IDefaultValue
DEFAULT_VALUE_PROP_NAME
 
Constructor Summary
ContentType ()
           
 
Method Summary
 java.util.List getPossibleValues ()
           
 boolean isValidValue (java.lang.String value)
           
 
Methods inherited from class org.eclipse.jst.jsf.taglibprocessing.attributevalues. EnumerationType
getExpectedRuntimeType
 
Methods inherited from class org.eclipse.jst.jsf.taglibprocessing.attributevalues. AbstractEnumerationType
getDefaultValue, getValidationMessages
 
Methods inherited from class org.eclipse.jst.jsf.metadataprocessors. AbstractRootTypeDescriptor
getFeatureAdapters, getTypeExtension, setTypeExtension
 
Methods inherited from class org.eclipse.jst.jsf.metadataprocessors. AbstractMetaDataEnabledFeature
getMetaDataContext, getStructuredDocumentContext, setMetaDataContext, setStructuredDocumentContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jst.jsf.metadataprocessors. IMetaDataEnabledFeature
getMetaDataContext, getStructuredDocumentContext, setMetaDataContext, setStructuredDocumentContext
 

Constructor Detail

ContentType

public ContentType()
Method Detail

isValidValue

public boolean isValidValue(java.lang.String value)
Specified by:
isValidValue in interface IValidValues
Parameters:
value - fully resolved value as String
Returns:
true if is valid

getPossibleValues

public java.util.List getPossibleValues()
Specified by:
getPossibleValues in interface IPossibleValues
Returns:
List of IPossibleValue instances representing possible values Implementer must ensure that an empty rather than null list is returned if no values are posssible.



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire