Search this API

y.io.graphml.input
Class CreationProperties

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by y.io.graphml.input.CreationProperties
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public final class CreationProperties
extends java.util.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
 

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
CreationProperties()
           
 
Method Summary
 boolean GetBooleanProperty(java.lang.Object key)
          Returns the boolean value of a property store under key.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

CreationProperties

public CreationProperties()
Method Detail

GetBooleanProperty

public boolean GetBooleanProperty(java.lang.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.

© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.