-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjcl.dtd
More file actions
72 lines (61 loc) · 3.52 KB
/
jcl.dtd
File metadata and controls
72 lines (61 loc) · 3.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml encoding="UTF-8"?>
<!-- Revision: 1 2.0.0 http://www.nrf-arts.com/JavaPOS/JCL/jcl.dtd, docs, xml4j2, xml4j2_0_13 -->
<!--
This is the DTD for all JCL (JavaPOS Config/Loader) entries. It defines
the content necessary for all JCL entries in their XML file. Please see the
example XML files in the release as well as the JCL documentation for details
on how to create your own XML files that are valid for this DTD. You may also
use the JCL editor to create these files, as long as the JCL instalation is
setup for XML (instead of serialized or CFG).
@author E. Michael Maximilien (maxim@us.ibm.com)
@since 1.2
-->
<!ELEMENT JposEntries (JposEntry)*>
<!ELEMENT JposEntry (creation, vendor, jpos, product, prop+)>
<!ATTLIST JposEntry logicalName CDATA #REQUIRED>
<!ELEMENT creation (#PCDATA)>
<!ELEMENT vendor (#PCDATA)>
<!ELEMENT jpos (#PCDATA)>
<!ELEMENT product (#PCDATA)>
<!ELEMENT prop (#PCDATA)>
<!ATTLIST creation
factoryClass CDATA #REQUIRED
serviceClass CDATA #REQUIRED>
<!ATTLIST vendor
name CDATA #REQUIRED
url CDATA #IMPLIED>
<!-- NOTE on the category attribute.
The class names of the standard jcl.dtd file do not contain the class names for the devices added in
UPOS 1.16. Therefore, this version (which contains the missing device classes) has been added to the
repository.
-->
<!ATTLIST jpos
version CDATA #REQUIRED
category ( Belt | BillAcceptor | BillDispenser | Biometrics | BumpBar | CashChanger | CashDrawer | CAT |
CheckScanner | CoinAcceptor | CoinDispenser | DeviceMonitor | ElectronicJournal |
ElectronicValueRW | FiscalPrinter | Gate | GestureControl | GraphicDisplay | HardTotals |
ImageScanner | IndividualRecognition | ItemDispenser | Keylock | Lights | LineDisplay | MICR |
MotionSensor | MSR | PINPad | PointCardRW | POSKeyboard | POSPower | POSPrinter |
RemoteOrderDisplay | RFIDScanner | Scale | Scanner | SignatureCapture | SmartCardRW |
SoundPlayer | SoundRecorder | SpeechSynthesis | ToneIndicator | VideoCapture | VoiceRecognition
) #REQUIRED>
<!ATTLIST product
name CDATA #REQUIRED
description CDATA #REQUIRED
url CDATA #IMPLIED>
<!-- NOTE on the type attribute.
This was added after the first release and therefore to maintain
compatibility, it is defined as #IMPLIED so that it does not need
to be specified and the default type for attributes with no type
is String. for instance:
<prop name="propName" value="1234"/>
is of type String and the "1234" value is kept as a String in the
JposEntry. If you want the "1234" to be converted to an integer
for instance then you must use the type attribute as follow:
<prop name="propName" value="1234" type="Integer"/>
-->
<!ATTLIST prop
name CDATA #REQUIRED
value CDATA #REQUIRED
type ( String | Boolean | Byte | Character | Double | Float |
Integer | Long | Short ) #IMPLIED>