Class Packer.Relationship

  • Enclosing class:
    Packer

    public static class Packer.Relationship
    extends java.lang.Object
    Nested class representing a relationship (MSXML)
    • Constructor Summary

      Constructors 
      Constructor Description
      Relationship​(java.lang.String path)
      Constructor with definition of the root folder
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRelationshipEntry​(java.lang.String target, java.lang.String type)
      Adds a relationship entry to the relationship
      (package private) java.util.List<java.lang.String> getIdList()
      Gets the list of IDs (rId...)
      (package private) java.lang.String getRootFolder()
      Gets the root folder of the relationship
      (package private) java.util.List<java.lang.String> getTargetList()
      Gets the list of targets
      (package private) java.util.List<java.lang.String> getTypeList()
      Gets the list of types
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Relationship

        Relationship​(java.lang.String path)
        Constructor with definition of the root folder
        Parameters:
        path - Root folder of the relationship
    • Method Detail

      • getRootFolder

        java.lang.String getRootFolder()
        Gets the root folder of the relationship
        Returns:
        Root folder of the relationship
      • getTargetList

        java.util.List<java.lang.String> getTargetList()
        Gets the list of targets
        Returns:
        ArrayList of targets as strings
      • getTypeList

        java.util.List<java.lang.String> getTypeList()
        Gets the list of types
        Returns:
        ArrayList of types as strings
      • getIdList

        java.util.List<java.lang.String> getIdList()
        Gets the list of IDs (rId...)
        Returns:
        ArrayList of IDs as strings
      • addRelationshipEntry

        public void addRelationshipEntry​(java.lang.String target,
                                         java.lang.String type)
        Adds a relationship entry to the relationship
        Parameters:
        target - Target of the entry
        type - Type of the entry