wood burning stoves*
The moose likes XML and Related Technologies and the fly likes JAXB Taglib documentation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXB Taglib documentation?" Watch "JAXB Taglib documentation?" New topic

JAXB Taglib documentation?

Gerben Feenstra

Joined: Feb 21, 2011
Posts: 14
Does anyone if there is a JAXB Taglib documentation in existence somewhere? Been searching half the web for a page/document listing all the possible tags in the jaxb (http://java.sun.com/xml/ns/jaxb) namespace, but no luck yet :S
Paul Clapham

Joined: Oct 14, 2005
Posts: 18541

Perhaps your terminology is wrong? A "taglib" is something used in a JSP to generate HTML, it isn't related to JAXB at all. And perhaps you should be searching for "elements" instead of "tags", since it's XML you're talking about?

However... if you follow the link that you posted in this post, it takes you to a page with links to the XML Schema components for JAXB. Is that not what you were looking for?
Gerben Feenstra

Joined: Feb 21, 2011
Posts: 14
Perhaps taglib documentation is the wrong term then (although they seem pretty much the same to me), probably because I was looking for something similar as the JSTL-taglib reference (http://download.oracle.com/docs/cd/E17802_01/products/products/jsp/jstl/1.1/docs/tlddocs/index.html).
What I'm searching for is complete documentation on all the JAXB tags and elements used in XSD's and XJB's, especially for namespaces "http://java.sun.com/xml/ns/jaxb" and "http://hyperjaxb3.jvnet.org/ejb/schemas/customizations" (Hyperjaxb). For example: <jaxb:bindings>, <jaxb:package>, <hj:default-generated-id> etc. And all of their properties.

The link provided is just the namespace I found in an existing XJB, which happens to contain a webpage, not containing the documentation I'm searching for, and besides, very old.

There must be some complete overview of JAXB tags and elements somewhere!?

Gerben Feenstra

Joined: Feb 21, 2011
Posts: 14
K, for future reference by other people looking for the same info: I just found this: http://download.oracle.com/docs/cd/E17802_01/webservices/webservices/docs/2.0/tutorial/doc/JAXBUsing4.html Which is the closest to date what I'm looking for, although still a bit vague IMO. Unless someone reading this knows of a clearer overview, I think I'll manage with this one.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JAXB Taglib documentation?
Similar Threads
JAXB 2.0
object to XML
Jaxb version from 1.x to 2.1.9
JAXB marshalling problem ==Urgent=
Regarding Bean:Define