ch.tatool.core.element
Class AbstractPropertyHolder
java.lang.Object
ch.tatool.core.element.AbstractPropertyHolder
- All Implemented Interfaces:
- PropertyHolder
- Direct Known Subclasses:
- NodeImpl
public abstract class AbstractPropertyHolder
- extends Object
- implements PropertyHolder
Default implementation of a property holder.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractPropertyHolder
public AbstractPropertyHolder()
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface PropertyHolder
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface PropertyHolder
removeProperty
public void removeProperty(String name)
- Specified by:
removeProperty in interface PropertyHolder
getKeys
public Set<String> getKeys()
- Get all properties contained in this holder
- Specified by:
getKeys in interface PropertyHolder
clearProperties
public void clearProperties()
- Clear all properties
- Specified by:
clearProperties in interface PropertyHolder
Copyright © 2012. All Rights Reserved.