public class StyleKeyFactoryCollector extends Object implements StyleKeyFactory
Constructor and Description |
---|
StyleKeyFactoryCollector()
Creates a new factory.
|
Modifier and Type | Method and Description |
---|---|
void |
addFactory(StyleKeyFactory factory)
Adds a factory.
|
Object |
createBasicObject(StyleKey k,
String value,
Class c,
ClassFactory cf)
Creates an object.
|
boolean |
equals(Object o)
Indicated whether an other object is equal to this one.
|
Iterator |
getFactories()
Returns an iterator that provides access to the factories.
|
Iterator |
getRegisteredKeys()
Returns an iterator that provides access to the registered keys.
|
StyleKey |
getStyleKey(String name)
Returns a style key.
|
int |
hashCode()
Computes an hashcode for this factory.
|
public StyleKeyFactoryCollector()
public void addFactory(StyleKeyFactory factory)
factory
- the factory.public Iterator getFactories()
public StyleKey getStyleKey(String name)
getStyleKey
in interface StyleKeyFactory
name
- the name.public Object createBasicObject(StyleKey k, String value, Class c, ClassFactory cf)
createBasicObject
in interface StyleKeyFactory
k
- the style key.value
- the value.c
- the class.cf
- the class factory used to create the basic object.public Iterator getRegisteredKeys()
getRegisteredKeys
in interface StyleKeyFactory
public boolean equals(Object o)
equals
in class Object
o
- the other object.Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class Object
Object.hashCode()
Copyright © 2017 Hitachi Vantara. All rights reserved.