Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
a2b94756
Commit
a2b94756
authored
9 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Javadoc related errors
parent
b7989c84
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
P/Sda1/Jdom/Xmlstat/src/main/java/de/hdm_stuttgart/mi/xmlstat/HtmlTree.java
+7
-6
7 additions, 6 deletions
...t/src/main/java/de/hdm_stuttgart/mi/xmlstat/HtmlTree.java
with
7 additions
and
6 deletions
P/Sda1/Jdom/Xmlstat/src/main/java/de/hdm_stuttgart/mi/xmlstat/HtmlTree.java
+
7
−
6
View file @
a2b94756
...
...
@@ -17,24 +17,26 @@ import org.jdom2.output.XMLOutputter;
*/
public
class
HtmlTree
{
/**
*
*/
static
public
final
Namespace
HTML
=
Namespace
.
getNamespace
(
"http://www.w3.org/1999/xhtml"
);
private
final
Element
tableBody
=
new
Element
(
"tbody"
,
HTML
).
addContent
(
new
Comment
(
" End of static, beginning of dynamic section"
));
/**
* Create a HTML skeleton (<html><head>...<body> ...
* </body></head>
* to be filled in later
by calling {@link #appendItem(String, String)}
.
* to be filled in later.
*
* @param titleText
* The document's title, e.g. "Available articles"
*
* @param tableHeaderFields
* The articles will be displayed as HTML table with these header fields
* e.g. {"Article Description", "Order Number" }
*/
@SuppressWarnings
(
"unused"
)
public
HtmlTree
(
final
String
titleText
)
{
// We create a HTML skeleton including a yet empty table
...
...
@@ -62,9 +64,8 @@ public class HtmlTree {
}
/**
* Inserting an <item> as a new table row with two <td> elements.
*
* @param
itemName The item's name (e.g. Tennis racket)
* @param
entry namespace among with corresponding elements.
*/
public
void
appendNamespace
(
final
Entry
<
Namespace
,
ElementFrequency
>
entry
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment