Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
XJC -p Option for Class Package Name
How to specify the package name for the generated Java classes with XJC (XML to Java Compiler)? I don't like the default package name "generated".
✍: FYIcenter.com
I don't like the default package name "generated" of the output Java classes given by XJC (XML to Java Compiler), you can change it by using the "xjc -p" option as shown below:
fyicenter> mkdir src fyicenter> ../jaxb-ri/bin/xjc.sh -p com.fyicenter.demo User.xsd -d src parsing a schema... compiling a schema... com\fyicenter\demo\ObjectFactory.java com\fyicenter\demo\User.java
Remember that:
⇒ Identify JAXB Implementation Classes
⇐ User.java - Java Data Type Class Generated by XJC
2018-05-08, 3010🔥, 0💬
Popular Posts:
ASM is an all purpose Java bytecode manipulation and analysis framework. It can be used to modify ex...
xml-commons External Source Code Files are provided in the source package file, xml-commons-external...
How to read XML document with DTD validation from socket connections with the socket\DelayedInput.ja.. .
XML Serializer, Release 2.7.1, allows you to write out XML, HTML etc. as a stream of characters from...
The Jakarta-ORO Java classes are a set of text-processing Java classes that provide Perl5 compatible...