org.apache.poi.xdgf.usermodel
Class XDGFMasters

java.lang.Object
  extended by org.apache.poi.POIXMLDocumentPart
      extended by org.apache.poi.xdgf.xml.XDGFXMLDocumentPart
          extended by org.apache.poi.xdgf.usermodel.XDGFMasters

public class XDGFMasters
extends XDGFXMLDocumentPart

A collection of masters (typically stencils) in a Visio document


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.poi.POIXMLDocumentPart
POIXMLDocumentPart.RelationPart
 
Field Summary
protected  java.util.Map<java.lang.Long,XDGFMaster> _masters
           
 
Fields inherited from class org.apache.poi.xdgf.xml.XDGFXMLDocumentPart
_document
 
Constructor Summary
XDGFMasters(PackagePart part, XDGFDocument document)
           
 
Method Summary
 XDGFMaster getMasterById(long masterId)
           
 java.util.Collection<XDGFMaster> getMastersList()
           
protected  com.microsoft.schemas.office.visio.x2012.main.MastersType getXmlObject()
           
protected  void onDocumentRead()
          Fired when a package part is read
 
Methods inherited from class org.apache.poi.POIXMLDocumentPart
_invokeOnDocumentRead, addRelation, commit, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationParts, getRelations, getTargetPart, onDocumentCreate, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_masters

protected java.util.Map<java.lang.Long,XDGFMaster> _masters
Constructor Detail

XDGFMasters

public XDGFMasters(PackagePart part,
                   XDGFDocument document)
Since:
POI 3.14-Beta1
Method Detail

getXmlObject

@Internal
protected com.microsoft.schemas.office.visio.x2012.main.MastersType getXmlObject()

onDocumentRead

protected void onDocumentRead()
Description copied from class: POIXMLDocumentPart
Fired when a package part is read

Overrides:
onDocumentRead in class POIXMLDocumentPart

getMastersList

public java.util.Collection<XDGFMaster> getMastersList()

getMasterById

public XDGFMaster getMasterById(long masterId)