public abstract class EncapsulationFactoryBase extends Object implements IdentifiableFactory
| Constructor and Description |
|---|
EncapsulationFactoryBase(int id) |
| Modifier and Type | Method and Description |
|---|---|
Identifiable |
create(InputStream in)
Construct the appropriate Identifiable object with the
given id from the InputStream is.
|
int |
getId()
Return the id of this factory, which is the id of the result
of any create call.
|
protected abstract Identifiable |
readContents(InputStream is) |
public int getId()
IdentifiableFactorygetId in interface IdentifiableFactorypublic final Identifiable create(InputStream in)
IdentifiableFactorycreate in interface IdentifiableFactoryprotected abstract Identifiable readContents(InputStream is)
Copyright © 2018 JBoss by Red Hat. All rights reserved.