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()
IdentifiableFactory
getId
in interface IdentifiableFactory
public final Identifiable create(InputStream in)
IdentifiableFactory
create
in interface IdentifiableFactory
protected abstract Identifiable readContents(InputStream is)
Copyright © 2019 JBoss by Red Hat. All rights reserved.