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