public final class TypeDef extends Object
| Modifier and Type | Field and Description |
|---|---|
static TypeDef |
APPLICATION
.
|
static TypeDef |
AUDIO
.
|
static TypeDef |
IMAGE
.
|
static TypeDef |
MESSAGE
.
|
static TypeDef |
MULTIPART
.
|
static TypeDef |
TEXT
.
|
static TypeDef |
VIDEO
.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeDef |
create(String typeName)
Returns the corresponding type definition for the given top level type name.
|
String |
getDescription() |
String |
getName() |
boolean |
isComposite() |
boolean |
isDiscrete() |
String |
toString() |
public static final TypeDef TEXT
public static final TypeDef IMAGE
public static final TypeDef AUDIO
public static final TypeDef VIDEO
public static final TypeDef APPLICATION
public static final TypeDef MULTIPART
public static final TypeDef MESSAGE
public static TypeDef create(String typeName) throws IllegalArgumentException
typeName - the name of the type defIllegalArgumentException - if the type name is nullpublic String getName()
public String getDescription()
public boolean isComposite()
public boolean isDiscrete()
Copyright © 2025 JBoss by Red Hat. All Rights Reserved.