Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
swiftMtMx
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
isc-v3.1-tmp
swiftMtMx
Commits
deb937af
Commit
deb937af
authored
Aug 22, 2022
by
chengzhuoshen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交mx2mt监听器类
parent
bde9deed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
Mx2MtListener.java
...c/main/java/com/brilliance/swift/mx2mt/Mx2MtListener.java
+31
-0
No files found.
swiftCore/src/main/java/com/brilliance/swift/mx2mt/Mx2MtListener.java
0 → 100644
View file @
deb937af
package
com
.
brilliance
.
swift
.
mx2mt
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
* Mx报文转Mt报文的监听类
* 用于记录转换过程中使用的xml path
*/
public
class
Mx2MtListener
{
private
Map
<
String
,
Boolean
>
maps
=
new
HashMap
<>();
public
Map
<
String
,
Boolean
>
getMaps
()
{
return
maps
;
}
public
void
setMaps
(
Map
<
String
,
Boolean
>
maps
)
{
this
.
maps
=
maps
;
}
/**
* 将监听到的路径flag置为TRUE
* @param usedPath
*/
public
void
process
(
String
usedPath
)
{
if
(!
maps
.
containsKey
(
usedPath
))
{
maps
.
put
(
usedPath
,
true
);
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment