Class AbstractBaseDescriptionDocument

    • Constructor Detail

      • AbstractBaseDescriptionDocument

        public AbstractBaseDescriptionDocument​(java.lang.String id,
                                               java.lang.String shortName,
                                               java.lang.String description)
        Constructor with id, shortName and description
        Parameters:
        id - String
        shortName - String
        description - String
      • AbstractBaseDescriptionDocument

        public AbstractBaseDescriptionDocument()
        Default constructor
    • Method Detail

      • setStore

        public void setStore​(Store store)
        Sets the web description store
        Parameters:
        store - store
      • setDescPath

        public void setDescPath​(java.lang.String descPath)
        Sets the desc path
        Parameters:
        descPath - String
      • getDescPath

        public java.lang.String getDescPath()
        Description copied from interface: BaseDescriptionDocument
        Gets the path of the description xml document for this base description document
        Specified by:
        getDescPath in interface BaseDescriptionDocument
        Returns:
        document location (path)
      • getDescDocument

        public java.io.InputStream getDescDocument()
                                            throws java.io.IOException
        Description copied from interface: BaseDescriptionDocument
        Gets the description xml document for this base description document
        Specified by:
        getDescDocument in interface BaseDescriptionDocument
        Returns:
        source document
        Throws:
        java.io.IOException
      • getStore

        public Store getStore()
        Returns:
        the store
      • parseDocument

        public void parseDocument​(java.io.InputStream doc)
                           throws org.dom4j.DocumentException
        Parses input XML document
        Parameters:
        doc - input XML document
        Throws:
        org.dom4j.DocumentException