org.freecompany.infoset
Class AbstractInfoset<T>
java.lang.Object
org.freecompany.infoset.AbstractInfoset<T>
- All Implemented Interfaces:
- Infoset<T>
- Direct Known Subclasses:
- DefaultInfoset, DomWrapperInfoset
public abstract class AbstractInfoset<T>
- extends java.lang.Object
- implements Infoset<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.freecompany.infoset.Infoset |
get |
type
protected final java.lang.Class<T> type
factory
protected final InfosetFactory<T> factory
AbstractInfoset
public AbstractInfoset(java.lang.Class<T> type)
AbstractInfoset
public AbstractInfoset(java.lang.Class<T> type,
InfosetFactory<T> factory)
getType
public java.lang.Class<T> getType()
- Description copied from interface:
Infoset
- Returns the type of the infoset model object that this
Infoset
encompases.
- Specified by:
getType
in interface Infoset<T>
getFactory
public InfosetFactory<T> getFactory()
- Description copied from interface:
Infoset
- Returns the factory used to create this infoset.
- Specified by:
getFactory
in interface Infoset<T>