|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.step.processor.stepParser.StepData
A model of the data in a STEP/Part21 file to the level of individual StepEntities, but not linked/validated to a particular Express Schema.
Field Summary | |
private Hashtable |
_entityBags
|
private Hashtable |
_idMapping
|
private static STEPParser |
_parser
|
Constructor Summary | |
StepData(InputStream stream)
|
|
StepData(String definitionFilename)
|
Method Summary | |
void |
addEntity(Integer entityId,
String name,
Vector attributes)
Adds an entity to the collection of step data so that 'same type' entities are grouped together and entity references can be resolved on demand. |
void |
dump()
|
Vector |
getAllEntitiesOfType(String typeName)
Gets a Vector of all Entities of the given type. |
Enumeration |
getEntityTypeCollections()
Returns an iterator over the collection of all entity types found in the STEP file. |
Enumeration |
getEntityTypeNames()
Returns an enumeration over the type names of the StepEntitys read from the STEP file. |
StepEntity |
getEntityWithId(Integer id)
|
private void |
loadData(InputStream stream)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private Hashtable _entityBags
private Hashtable _idMapping
private static STEPParser _parser
Constructor Detail |
public StepData(String definitionFilename) throws FileNotFoundException, ParseException
public StepData(InputStream stream) throws ParseException
Method Detail |
private void loadData(InputStream stream) throws ParseException
ParseException
public void dump()
public void addEntity(Integer entityId, String name, Vector attributes)
public StepEntity getEntityWithId(Integer id)
public Vector getAllEntitiesOfType(String typeName)
public Enumeration getEntityTypeCollections()
public Enumeration getEntityTypeNames()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |