this.entryPath = _entryPath;
}
void parse() throws XMLStreamException, IOException
{
final RelationshipParser relationships = parseRelationships();
final String stylesheetEntryPath = relationships.findByType( XMLConstants.STYLESHEET_RELATIONSHIP_TYPE );
this.stylesheet = parseStylesheet( stylesheetEntryPath );
StartElement se = find( XMLConstants.WORKBOOK_SHEETS_PATH );
if (se != null) {
final int sheetsContext = getContext();
while ((se = find( XMLConstants.Main.SHEET, sheetsContext )) != null) {
final Attribute sheetRelationshipId = se.getAttributeByName( XMLConstants.DocumentRelationships.ID );
final WorksheetParser parser = new WorksheetParser( this.loader,
relationships.findById( sheetRelationshipId.getValue() ), this.stylesheet );
try {
parser.parse();
}
finally {
parser.close();