public class PlotImpl extends java.lang.Object implements Plot, ComponentContextAware, Disposable
The implementation class for the dynamic plotting service component interface (Data
).
Dynamically plotting service component is a class of GIS service components that encapsulate GIS functions related to dynamic plotting.
The class is the default implementation class for the dynamically plotting service component interface (Data
).
The service provider type used by the dynamically plotting service component must be a dynamically plotting service provider (DataProvider
).
Constructor and Description |
---|
PlotImpl()
The Constructor.
|
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 the resource 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 |
setComponentContext(ComponentContext context)
Sets the context information.
|
public int[] getSymbolLibIDs() throws PlotException
Returns all label library IDs supported by server.
getSymbolLibIDs
in interface Plot
PlotException
- Dynamically plotting service component exception information.public SymbolLib getSymbolLib(int libID) throws PlotException
Obtains the label library information according to the label library ID.
getSymbolLib
in interface Plot
libID
- Label library ID.PlotException
- Dynamically plotting service component exception information.public GeoGraphicObject getGraphicObject(GetGraphicObjectParameter getGOParameters) throws PlotException
Obtains graphic object information according to LibID, Code, point string and other related parameters.
getGraphicObject
in interface Plot
getGOParameters
- Related parameters.PlotException
- Dynamically plotting service component exception information.public boolean saveAsSMLFile(java.lang.String content, java.lang.String smlFileName, java.lang.Boolean isCover) throws PlotException
Stores the situation map file information
saveAsSMLFile
in interface Plot
content
- Situation chart content.smlFileName
- Saves the name of the situation picture file.isCover
- Whether or not to cover the existing situation map.PlotException
- Dynamically plotting service component exception information.public java.lang.String getSMLFileContent(java.lang.String smlFileName) throws PlotException
According to the situation map file description to obtain the specified situation map file content, in the form of a string to return.
getSMLFileContent
in interface Plot
smlFileName
- Situation map physical file name.PlotException
- Dynamically plotting service component exception information.public java.lang.Boolean deleteSMLFile(java.lang.String smlFileName) throws PlotException
According to the situation map file description to delete the specified situation map file information.
deleteSMLFile
in interface Plot
smlFileName
- Situation map physical file name.PlotException
- Dynamically plotting service component exception information.public byte[] getSMLFileBinary(java.lang.String smlFileName) throws PlotException
Gets the contents of the binary form of the specified situation map file.
getSMLFileBinary
in interface Plot
smlFileName
- Situation map physical file name.PlotException
- Dynamically plotting service component exception information.public java.util.List<SMLInfo> getSMLInfos(int start, int count) throws PlotException
Gets the list of situation map information.
getSMLInfos
in interface Plot
start
- Returns the starting index of the situation map file list.count
- Returns the number of the situation map file list.PlotException
- Dynamically plotting service component exception information.public void setComponentContext(ComponentContext context)
Sets the context information.
setComponentContext
in interface ComponentContextAware
context
- Context informationpublic void dispose()
Release the resource object. All classes that need to achieve releasing resources need to be implemented ()
.
dispose
in interface Disposable