y.io.graphml.input
Class CreationProperties
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap
y.io.graphml.input.CreationProperties
- All Implemented Interfaces:
- Serializable, Cloneable, Map
public final class CreationProperties
- extends HashMap
Simple tagging subclass of HashMap
.
This class is used by the GraphMLParser
to store
properties of an item before it has been created. An instance of this class
can be found in the lookup
of the
GraphMLParseContext
during the parsing of an item.
Custom parsers may populate the dictionary with various properties that can
then be used by the GraphElementFactory
during the creation of the
item.
- See Also:
GraphElementFactory
,
GraphMLParser
,
Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
CreationProperties
public CreationProperties()
GetBooleanProperty
public boolean GetBooleanProperty(Object key)
- Returns the boolean value of a property store under
key
.
- Parameters:
key
- The Property key
- Returns:
- The boolean value of the property, or
false
if the property does not exist or if the property
value is not a boolean value.