// Path: src/main/java/org/apache/poi/xdgf/xml/XDGFXMLDocumentPart.java
// public class XDGFXMLDocumentPart extends POIXMLDocumentPart {
// 
// 	protected XDGFDocument _document;
// 	
// 	public XDGFXMLDocumentPart(PackagePart part, PackageRelationship rel, XDGFDocument document) {
// 		super(part, rel);
// 		_document = document;
// 	}
// 	
// }


import java.util.HashMap;
import java.util.Map;
import org.apache.poi.POIXMLRelation;
import org.apache.poi.openxml4j.opc.PackageRelationshipTypes;
import org.apache.poi.xdgf.xml.XDGFXMLDocumentPart;
    );
    
    public static final XDGFRelation IMAGES = new XDGFRelation(
            null,
            PackageRelationshipTypes.IMAGE_PART,
            null,
            null // XSSFPictureData.class
        );
    
    public static final XDGFRelation PAGES = new XDGFRelation(
            "application/vnd.ms-visio.pages+xml",
            "http://schemas.microsoft.com/visio/2010/relationships/pages",
            "/visio/pages/pages.xml",
            XDGFPages.class
    );
    
    public static final XDGFRelation PAGE = new XDGFRelation(
            "application/vnd.ms-visio.page+xml",
            "http://schemas.microsoft.com/visio/2010/relationships/page",
            "/visio/pages/page#.xml",
            XDGFPageContents.class
    );
    
    public static final XDGFRelation WINDOW = new XDGFRelation(
            "application/vnd.ms-visio.windows+xml",
            "http://schemas.microsoft.com/visio/2010/relationships/windows",
            "/visio/windows.xml",
            null
    );
    
// Path: src/main/java/org/apache/poi/xdgf/xml/XDGFXMLDocumentPart.java
// public class XDGFXMLDocumentPart extends POIXMLDocumentPart {
// 
// 	protected XDGFDocument _document;
// 	
// 	public XDGFXMLDocumentPart(PackagePart part, PackageRelationship rel, XDGFDocument document) {
// 		super(part, rel);
// 		_document = document;
// 	}
// 	
// }


// Path: src/main/java/org/apache/poi/xdgf/usermodel/XDGFRelation.java
import java.util.HashMap;
import java.util.Map;
import org.apache.poi.POIXMLRelation;
import org.apache.poi.openxml4j.opc.PackageRelationshipTypes;
import org.apache.poi.xdgf.xml.XDGFXMLDocumentPart;

    );
    
    public static final XDGFRelation IMAGES = new XDGFRelation(
            null,
            PackageRelationshipTypes.IMAGE_PART,
            null,
            null // XSSFPictureData.class
        );
    
    public static final XDGFRelation PAGES = new XDGFRelation(
            "application/vnd.ms-visio.pages+xml",
            "http://schemas.microsoft.com/visio/2010/relationships/pages",
            "/visio/pages/pages.xml",
            XDGFPages.class
    );
    
    public static final XDGFRelation PAGE = new XDGFRelation(
            "application/vnd.ms-visio.page+xml",
            "http://schemas.microsoft.com/visio/2010/relationships/page",
            "/visio/pages/page#.xml",
            XDGFPageContents.class
    );
    
    public static final XDGFRelation WINDOW = new XDGFRelation(
            "application/vnd.ms-visio.windows+xml",
            "http://schemas.microsoft.com/visio/2010/relationships/windows",
            "/visio/windows.xml",
            null
    );
    
    private XDGFRelation(String type, String rel, String defaultName, Class<? extends XDGFXMLDocumentPart> cls) {