public class AreaDescriptor extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Map<String,MapPropertyDescriptor> |
mOptionPropertyDescriptor |
static String |
SCOPE_CURRENT |
static String |
SCOPE_ITEMS |
Constructor and Description |
---|
AreaDescriptor(String pName,
String pLabel,
String pDescription,
List<ElementDescriptor> pAllowedElements,
List<String> pAllowedContentTypes) |
AreaDescriptor(String pName,
String pLabel,
String pDescription,
List<PropertyDescriptor> pOptionDescriptors,
List<ElementDescriptor> pAllowedElements,
List<String> pAllowedContentTypes) |
AreaDescriptor(String pName,
String pLabel,
String pDescription,
Map<String,MapPropertyDescriptor> pOptionPropertyDescriptor,
List<ElementDescriptor> pAllowedElements,
List<String> pAllowedContentTypes)
Creates a new AreaDescriptor.
|
AreaDescriptor(String pName,
String pLabel,
String pDescription,
MapPropertyDescriptor pOptionPropertyDescriptor,
List<ElementDescriptor> pAllowedElements,
List<String> pAllowedContentTypes)
Creates a new AreaDescriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canContain(Element pElement) |
boolean |
equals(Object o) |
List<String> |
getAllowedContentTypes() |
List<ElementDescriptor> |
getAllowedElements() |
TeaserDescriptor |
getDefaultTeaserDescriptor() |
String |
getDescription() |
String |
getLabel() |
String |
getName() |
MapPropertyDescriptor |
getOptionPropertyDescriptor()
Returns the option descriptors defined usable by
properties . |
MapPropertyDescriptor |
getOptionPropertyDescriptor(String pScope) |
Map<String,MapPropertyDescriptor> |
getOptionPropertyDescriptors() |
int |
hashCode() |
public static final String SCOPE_ITEMS
public static final String SCOPE_CURRENT
public final Map<String,MapPropertyDescriptor> mOptionPropertyDescriptor
public AreaDescriptor(String pName, String pLabel, String pDescription, List<ElementDescriptor> pAllowedElements, List<String> pAllowedContentTypes)
public AreaDescriptor(String pName, String pLabel, String pDescription, List<PropertyDescriptor> pOptionDescriptors, List<ElementDescriptor> pAllowedElements, List<String> pAllowedContentTypes)
public AreaDescriptor(String pName, String pLabel, String pDescription, MapPropertyDescriptor pOptionPropertyDescriptor, List<ElementDescriptor> pAllowedElements, List<String> pAllowedContentTypes)
Element
described by ElementDescriptor
that may occupy this area.pName
- the name of the areapLabel
- the internationalized label for this area.pDescription
- the internationalized description for this area.pOptionPropertyDescriptor
- pAllowedElements
- the Descriptors that defines which allowed Element
is allowed to occupy this areapAllowedContentTypes
- The List of content types that this descriptor can contain, may be null or empty (which will allow all content types ).public AreaDescriptor(String pName, String pLabel, String pDescription, Map<String,MapPropertyDescriptor> pOptionPropertyDescriptor, List<ElementDescriptor> pAllowedElements, List<String> pAllowedContentTypes)
Element
described by ElementDescriptor
that may occupy this area.pName
- the name of the areapLabel
- the internationalized label for this area.pDescription
- the internationalized description for this area.pOptionPropertyDescriptor
- pAllowedElements
- the Descriptors that defines which allowed Element
is allowed to occupy this areapAllowedContentTypes
- The List of content types that this descriptor can contain, may be null or empty (which will allow all content types ).public String getName()
public String getLabel()
public String getDescription()
public Map<String,MapPropertyDescriptor> getOptionPropertyDescriptors()
public MapPropertyDescriptor getOptionPropertyDescriptor()
properties
. may be null
.property
options.public MapPropertyDescriptor getOptionPropertyDescriptor(String pScope)
public TeaserDescriptor getDefaultTeaserDescriptor()
public List<ElementDescriptor> getAllowedElements()
public boolean canContain(Element pElement)
© 1998- 2021 Escenic AS