Class XSSFRelation

java.lang.Object
org.apache.poi.ooxml.POIXMLRelation
org.apache.poi.xssf.usermodel.XSSFRelation

public final class XSSFRelation extends POIXMLRelation
Defines namespaces, content types and normal file names / naming patterns, for the well-known XSSF format parts.
  • Field Details

  • Method Details

    • getStrictRelation

      public String getStrictRelation()
      Returns the relationship type used for this relation in Strict OOXML files. Strict OOXML (ISO/IEC 29500 Strict) uses the same local names as the transitional officeDocument relationship types, under a different namespace.
      Returns:
      the Strict OOXML relationship type, or null if this relation is not an officeDocument relationship (for example, Microsoft extensions)
      Since:
      6.0.0
    • getInstance

      public static XSSFRelation getInstance(String rel)
      Get POIXMLRelation by relation type
      Parameters:
      rel - relation type, for example, http://schemas.openxmlformats.org/officeDocument/2006/relationships/image
      Returns:
      registered POIXMLRelation or null if not found