public class AttrMetadata extends MetadataBase<String,org.vectomatic.dom.svg.impl.SVGElement>
| Modifier and Type | Field and Description |
|---|---|
protected String |
attrName |
category, description, factory, fieldFactory, propertyName, validator| Constructor and Description |
|---|
AttrMetadata(String propertyName,
String description,
IFieldFactory fieldFactory,
String attrName,
IFactoryInstantiator<?> factory,
IValidator<String,org.vectomatic.dom.svg.impl.SVGElement> validator) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(org.vectomatic.dom.svg.impl.SVGElement element)
Returns the value of this property for
the specified model object.
|
String |
remove(org.vectomatic.dom.svg.impl.SVGElement element)
Removes the property from the the specified
model object and returns its former value.
|
String |
set(org.vectomatic.dom.svg.impl.SVGElement element,
String value)
Sets the value of this property for
the specified model object and returns its former value.
|
String |
toString() |
getCategory, getCommandFactory, getDescription, getFieldFactory, getName, validateprotected String attrName
public AttrMetadata(String propertyName, String description, IFieldFactory fieldFactory, String attrName, IFactoryInstantiator<?> factory, IValidator<String,org.vectomatic.dom.svg.impl.SVGElement> validator)
public String get(org.vectomatic.dom.svg.impl.SVGElement element)
IMetadataelement - The model object.public String set(org.vectomatic.dom.svg.impl.SVGElement element, String value)
IMetadataelement - The model object.value - The value of this property for the specified model object.public String remove(org.vectomatic.dom.svg.impl.SVGElement element)
IMetadataelement - The model object.Copyright © 2018. All Rights Reserved.