On Jdk installed machine use this following Command to generate java classes.
1. Create a folder. (say Test is the folder).
2. Copy the DTD file in the location.
3. On command prompt use the command
xjc -dtd -d com –p [Package structure] [Dtd file name with .dtd extention]
Java classes will be created inside test folder with the specified package structure.
1. Create a folder. (say Test is the folder).
2. Copy the DTD file in the location.
3. On command prompt use the command
xjc -dtd -d com –p [Package structure] [Dtd file name with .dtd extention]
Java classes will be created inside test folder with the specified package structure.
No comments:
Post a Comment