com.supermap.services.providers

Class UGCPlotProvider

  • java.lang.Object
    • com.supermap.services.providers.UGCPlotProvider
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.lang.Boolean deleteSMLFile(java.lang.String smlFileName)
      According to the situation map file description to delete the specified situation map file information.
      void dispose()
      Release object.
      GeoGraphicObject getGraphicObject(GetGraphicObjectParameter getGOParameters)
      Obtains graphic object information according to LibID, Code, point string and other related parameters.
      byte[] getSMLFileBinary(java.lang.String smlFileName)
      Gets the contents of the binary form of the specified situation map file.
      java.lang.String getSMLFileContent(java.lang.String smlFileName)
      According to the situation map file description to obtain the specified situation map file content, in the form of a string to return.
      java.util.List<SMLInfo> getSMLInfos(int start, int count)
      Gets the list of situation map information.
      SymbolLib getSymbolLib(int libID)
      Obtains the label library information according to the label library ID.
      int[] getSymbolLibIDs()
      Returns all label library IDs supported by server.
      boolean saveAsSMLFile(java.lang.String content, java.lang.String smlFileName, java.lang.Boolean isCover)
      Stores the situation map file information
      void setProviderContext(ProviderContext context)
      Sets the context of the SuperMap dynamic plotting service provider.
      • Methods inherited from class java.lang.Object

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

      • UGCPlotProvider

        public UGCPlotProvider()
        
        Default constructor
      • UGCPlotProvider

        public UGCPlotProvider(UGCPlotProviderSetting providerSetting)
        

        Build the UGCPlotProvider object with SuperMap data service provider configuration information.

        Parameters:
        providerSetting - SuperMap data service provider configuration information.
    • Method Detail

      • getSymbolLibIDs

        public int[] getSymbolLibIDs()
        

        Returns all label library IDs supported by server.

        Specified by:
        getSymbolLibIDs in interface PlotProvider
        Returns:
        Returns the list of label library IDs.
      • getSymbolLib

        public SymbolLib getSymbolLib(int libID)
        

        Obtains the label library information according to the label library ID.

        Specified by:
        getSymbolLib in interface PlotProvider
        Parameters:
        libID - Label library ID.
        Returns:
        Returns label library information.
      • getGraphicObject

        public GeoGraphicObject getGraphicObject(GetGraphicObjectParameter getGOParameters)
        

        Obtains graphic object information according to LibID, Code, point string and other related parameters.

        Specified by:
        getGraphicObject in interface PlotProvider
        Parameters:
        getGOParameters - Related parameters.
        Returns:
        Returns the primitive object information.
      • saveAsSMLFile

        public boolean saveAsSMLFile(java.lang.String content,
                            java.lang.String smlFileName,
                            java.lang.Boolean isCover)
        

        Stores the situation map file information

        Specified by:
        saveAsSMLFile in interface PlotProvider
        Parameters:
        content - Situation chart content.
        smlFileName - Situation map physical file name.
        isCover - Whether or not to cover the existing situation map.
        Returns:
        Whether the preservation is successful
      • getSMLFileContent

        public java.lang.String getSMLFileContent(java.lang.String smlFileName)
        

        According to the situation map file description to obtain the specified situation map file content, in the form of a string to return.

        Specified by:
        getSMLFileContent in interface PlotProvider
        Parameters:
        smlFileName - the situation map physical file name.
        Returns:
        the situation map information.
      • deleteSMLFile

        public java.lang.Boolean deleteSMLFile(java.lang.String smlFileName)
        

        According to the situation map file description to delete the specified situation map file information.

        Specified by:
        deleteSMLFile in interface PlotProvider
        Parameters:
        smlFileName - the situation map physical file name.
        Returns:
        whether the delete operation succesful.
      • getSMLFileBinary

        public byte[] getSMLFileBinary(java.lang.String smlFileName)
        

        Gets the contents of the binary form of the specified situation map file.

        Specified by:
        getSMLFileBinary in interface PlotProvider
        Parameters:
        smlFileName - the situation map physical file name.
        Returns:
        file stream.
      • getSMLInfos

        public java.util.List<SMLInfo> getSMLInfos(int start,
                                          int count)
        

        Gets the list of situation map information.

        Specified by:
        getSMLInfos in interface PlotProvider
        Parameters:
        start - Returns the starting index of the situation map file list.
        count - Returns the number of the situation map file list.
        Returns:
        Gets the list of situation map information.
      • setProviderContext

        public void setProviderContext(ProviderContext context)
        

        Sets the context of the SuperMap dynamic plotting service provider.

        Dynamic plotting dynamic plotting service provider.
        Specified by:
        setProviderContext in interface ProviderContextAware
        Parameters:
        context - service provider context
      • dispose

        public void dispose()
        

        Release object.

        Specified by:
        dispose in interface Disposable