Class Relationship

java.lang.Object
com.independentsoft.office.Relationship

public class Relationship extends Object
The Class Relationship.
  • Constructor Details

    • Relationship

      public Relationship()
      Instantiates a new relationship.
    • Relationship

      public Relationship(byte[] buffer) throws XMLStreamException
      Instantiates a new relationship.
      Parameters:
      buffer - the buffer
      Throws:
      XMLStreamException - the xML stream exception
  • Method Details

    • getPartName

      public String getPartName(String type)
      Gets the part name.
      Parameters:
      type - the type
      Returns:
      the part name
    • getPartNames

      public String[] getPartNames(String contentType)
      Gets the part names.
      Parameters:
      contentType - the content type
      Returns:
      the part names
    • clone

      public Relationship clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getItems

      public RelationshipItemList getItems()
      Gets the items.
      Returns:
      the items