updated profile xml

git-svn-id: http://svn.3splooges.com/romraider-arch/trunk@706 d2e2e1cd-ba16-0410-be16-b7c4453c7c2d
This commit is contained in:
kascade 2007-06-24 13:00:37 +00:00
parent d3a33f4096
commit c63db399e0
2 changed files with 11 additions and 3 deletions

View File

@ -23,4 +23,12 @@
<!ELEMENT switches ( switch+ ) >
<!ELEMENT profile ( serial?, logfilelocation?, parameters*, switches* ) >
<!ELEMENT external EMPTY >
<!ATTLIST external id ID #REQUIRED >
<!ATTLIST external livedata ( selected ) #IMPLIED >
<!ATTLIST external graph ( selected ) #IMPLIED >
<!ATTLIST external dash ( selected ) #IMPLIED >
<!ELEMENT externals ( external+ ) >
<!ELEMENT profile ( serial?, logfilelocation?, parameters*, switches*, externals* ) >

View File

@ -112,9 +112,9 @@ public final class UserProfileImpl implements UserProfile {
builder.append(" </switches>").append(NEW_LINE);
}
if (!external.isEmpty()) {
builder.append(" <external>").append(NEW_LINE);
builder.append(" <externals>").append(NEW_LINE);
appendLoggerDataElements(builder, "external", external, false);
builder.append(" </external>").append(NEW_LINE);
builder.append(" </externals>").append(NEW_LINE);
}
builder.append("</profile>").append(NEW_LINE);
return builder.toString();