Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
alx_20230801
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
Patryk Czarnik
alx_20230801
Commits
bb3f718c
Commit
bb3f718c
authored
Aug 04, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Klient7_Dispatch_JAXB - zapis HTML
parent
48fbe326
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
.gitignore
OgloszeniaKlient/.gitignore
+1
-2
Klient5_DispatcherXSLT.java
...oszenia/klient_niskopoziomowy/Klient5_DispatcherXSLT.java
+1
-1
Klient6_DispatcherXSLT_Samowystarczalny.java
...skopoziomowy/Klient6_DispatcherXSLT_Samowystarczalny.java
+1
-1
Klient7_Dispatch_JAXB.java
...loszenia/klient_niskopoziomowy/Klient7_Dispatch_JAXB.java
+2
-1
No files found.
OgloszeniaKlient/.gitignore
View file @
bb3f718c
...
@@ -33,5 +33,4 @@ build/
...
@@ -33,5 +33,4 @@ build/
### Mac OS ###
### Mac OS ###
.DS_Store
.DS_Store
/wynik.html
/wynik?.html
/wyniki.html
OgloszeniaKlient/src/main/java/ogloszenia/klient_niskopoziomowy/Klient5_DispatcherXSLT.java
View file @
bb3f718c
...
@@ -28,7 +28,7 @@ public class Klient5_DispatcherXSLT {
...
@@ -28,7 +28,7 @@ public class Klient5_DispatcherXSLT {
Source result = dispatch.invoke(src);
Source result = dispatch.invoke(src);
System.out.println("
Mam
wynik:
" + result);
System.out.println("
Mam
wynik:
" + result);
Utils utils = new Utils();
Utils utils = new Utils();
utils.xslt(result, "
arkusz
.
xsl
", "
wynik
.
html
");
utils.xslt(result, "
arkusz
.
xsl
", "
wynik
5
.
html
");
System.out.println("
Gotowe
"
);
System.out.println("
Gotowe
"
);
}
}
}
}
OgloszeniaKlient/src/main/java/ogloszenia/klient_niskopoziomowy/Klient6_DispatcherXSLT_Samowystarczalny.java
View file @
bb3f718c
...
@@ -31,7 +31,7 @@ public class Klient6_DispatcherXSLT_Samowystarczalny {
...
@@ -31,7 +31,7 @@ public class Klient6_DispatcherXSLT_Samowystarczalny {
Source
result
=
dispatch
.
invoke
(
src
);
Source
result
=
dispatch
.
invoke
(
src
);
System
.
out
.
println
(
"Mam wynik: "
+
result
);
System
.
out
.
println
(
"Mam wynik: "
+
result
);
Utils
utils
=
new
Utils
();
Utils
utils
=
new
Utils
();
utils
.
xslt
(
result
,
"arkusz.xsl"
,
"wynik
i
.html"
);
utils
.
xslt
(
result
,
"arkusz.xsl"
,
"wynik
6
.html"
);
System
.
out
.
println
(
"Gotowe"
);
System
.
out
.
println
(
"Gotowe"
);
}
catch
(
MalformedURLException
e
)
{
}
catch
(
MalformedURLException
e
)
{
throw
new
RuntimeException
(
e
);
throw
new
RuntimeException
(
e
);
...
...
OgloszeniaKlient/src/main/java/ogloszenia/klient_niskopoziomowy/Klient7_Dispatch_JAXB.java
View file @
bb3f718c
...
@@ -40,7 +40,8 @@ public class Klient7_Dispatch_JAXB {
...
@@ -40,7 +40,8 @@ public class Klient7_Dispatch_JAXB {
Source
result
=
dispatch
.
invoke
(
src
);
Source
result
=
dispatch
.
invoke
(
src
);
System
.
out
.
println
(
"Mam wynik: "
+
result
);
System
.
out
.
println
(
"Mam wynik: "
+
result
);
Utils
utils
=
new
Utils
();
Utils
utils
=
new
Utils
();
utils
.
wypiszTransformerem
(
result
);
// utils.wypiszTransformerem(result);
utils
.
xslt
(
result
,
"arkusz.xsl"
,
"wynik7.html"
);
System
.
out
.
println
(
"Gotowe"
);
System
.
out
.
println
(
"Gotowe"
);
}
catch
(
JAXBException
e
)
{
}
catch
(
JAXBException
e
)
{
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
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