|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.core.model.content.ContentType
public final class ContentType
Type safe string for notion of content type.
| Field Summary | |
|---|---|
static ContentType |
CMS
. |
static ContentType |
PORTLET
. |
static ContentType |
UNKNOWN
. |
| Method Summary | |
|---|---|
static ContentType |
create(java.lang.String value)
Factory method to create objects. |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ContentType UNKNOWN
public static final ContentType CMS
public static final ContentType PORTLET
| Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public static ContentType create(java.lang.String value)
throws java.lang.IllegalArgumentException
value - the wrapped value
java.lang.IllegalArgumentException - if the string argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||