public static class MagicDrawProfile.CustomImageHolderStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CONTENT |
static java.lang.String |
FORMAT |
static java.lang.String |
LOCATION |
static java.lang.String |
STEREOTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
CustomImageHolderStereotype(MagicDrawProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
clearContent(Element element) |
void |
clearFormat(Element element) |
void |
clearLocation(Element element) |
java.lang.String |
getContent(Element element) |
Property |
getContentProperty() |
java.lang.String |
getFormat(Element element) |
Property |
getFormatProperty() |
java.lang.String |
getLocation(Element element) |
Property |
getLocationProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setContent(Element element,
java.lang.String value) |
void |
setFormat(Element element,
java.lang.String value) |
void |
setLocation(Element element,
java.lang.String value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String CONTENT
public static final java.lang.String FORMAT
public static final java.lang.String LOCATION
protected CustomImageHolderStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getContentProperty()
@CheckForNull public Property getFormatProperty()
@CheckForNull public Property getLocationProperty()
public void setContent(Element element, @CheckForNull java.lang.String value)
public void clearContent(Element element)
@CheckForNull public java.lang.String getContent(Element element)
public void setFormat(Element element, @CheckForNull java.lang.String value)
public void clearFormat(Element element)
@CheckForNull public java.lang.String getFormat(Element element)
public void setLocation(Element element, @CheckForNull java.lang.String value)
public void clearLocation(Element element)
@CheckForNull public java.lang.String getLocation(Element element)
protected void clear()
clear in class ProfileImplementation.ProfileElementWrapper<Stereotype>public boolean is(@CheckForNull
Element element)
ProfileImplementation.StereotypeWrapperis in class ProfileImplementation.StereotypeWrapperelement - elementpublic static boolean isInstance(@CheckForNull
Element element)