Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
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, ∼3388🔥, 0💬
Popular Posts:
What is the dom\GetElementsByTagName .javaprovided in the Apache Xerces package? I have Apache Xerce...
What Is commons-lang3-3.1.jar? commons-lang3-3.1.jar is the JAR file for Apache Commons Lang 3.1, wh...
maven-model-builder-3.5. 4.jaris the JAR file for Apache Maven 3.5.4 Model Builder module. Apache Ma...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...