javax.xml.bind

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » jaxb api » javax.xml.bind 
javax.xml.bind

Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.

JAXBContext is the client-entry point to the runtime binding framework.

Package Specification

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see:
Java Source File NameTypeComment
Binder.javaClass Enable synchronization between XML infoset nodes and JAXB objects representing same XML document.

An instance of this class maintains the association between XML nodes of an infoset preserving view and a JAXB representation of an XML document.

ContextFinder.javaClass This class is package private and therefore is not exposed as part of the JAXB API.
DataBindingException.javaClass Exception that represents a failure in a JAXB operation.
DatatypeConverter.javaClass

The javaType binding declaration can be used to customize the binding of an XML schema datatype to a Java datatype.

DatatypeConverterImpl.javaClass This class is the JAXB RI's default implementation of the DatatypeConverterInterface .
DatatypeConverterInterface.javaInterface

The DatatypeConverterInterface is for JAXB provider use only.

Element.javaInterface This is an element marker interface. Under certain circumstances, it is necessary for the binding compiler to generate derived java content classes that implement this interface.
GetPropertyAction.javaClassPrivilegedAction that gets the system property value.
JAXB.javaClass Class that defines convenience methods for common, simple use of JAXB.

Methods defined in this class are convenience methods that combine several basic operations in the JAXBContext , Unmarshaller , and Marshaller . They are designed to be the prefered methods for developers new to JAXB.

JAXBContext.javaClass

The JAXBContext class provides the client's entry point to the JAXB API.

JAXBElement.javaClass

JAXB representation of an Xml Element.

This class represents information about an Xml Element from both the element declaration within a schema and the element instance value within an xml document with the following properties

  • element's xml tag name
  • value represents the element instance's atttribute(s) and content model
  • element declaration's declaredType (xs:element @type attribute)
  • scope of element declaration
  • boolean nil property.
JAXBException.javaClass This is the root exception class for all JAXB exceptions.
JAXBIntrospector.javaClass Provide access to JAXB xml binding data for a JAXB object.
MarshalException.javaClass This exception indicates that an error has occurred while performing a marshal operation that the provider is unable to recover from.

The ValidationEventHandler can cause this exception to be thrown during the marshal operations.

Marshaller.javaInterface

The Marshaller class is responsible for governing the process of serializing Java content trees back into XML data.

Messages.javaClass Formats error messages.
NotIdentifiableEvent.javaInterface This event indicates that a problem was encountered resolving an ID/IDREF.
ParseConversionEvent.javaInterface This event indicates that a problem was encountered while converting a string from the XML data into a value of the target Java data type.
PrintConversionEvent.javaInterface This event indicates that a problem was encountered while converting data from the Java content tree into its lexical representation.
PropertyException.javaClass This exception indicates that an error was encountered while getting or setting a property.
SchemaOutputResolver.javaClass Controls where a JAXB implementation puts the generates schema files.
TypeConstraintException.javaClass This exception indicates that a violation of a dynamically checked type constraint was detected.

This exception can be thrown by the generated setter methods of the schema derived Java content classes.

UnmarshalException.javaClass This exception indicates that an error has occurred while performing an unmarshal operation that prevents the JAXB Provider from completing the operation.

The ValidationEventHandler can cause this exception to be thrown during the unmarshal operations.

Unmarshaller.javaInterface The Unmarshaller class governs the process of deserializing XML data into newly created Java content trees, optionally validating the XML data as it is unmarshalled.
UnmarshallerHandler.javaInterface Unmarshaller implemented as SAX ContentHandler.

Applications can use this interface to use their JAXB provider as a component in an XML pipeline.

ValidationEvent.javaInterface This event indicates that a problem was encountered while validating the incoming XML data during an unmarshal operation, while performing on-demand validation of the Java content tree, or while marshalling the Java content tree back to XML data.
ValidationEventHandler.javaInterface A basic event handler interface for validation errors.

If an application needs to implement customized event handling, it must implement this interface and then register it with either the Unmarshaller.setEventHandler(ValidationEventHandler) Unmarshaller , the Validator.setEventHandler(ValidationEventHandler) Validator , or the Marshaller.setEventHandler(ValidationEventHandler) Marshaller .

ValidationEventLocator.javaInterface Encapsulate the location of a ValidationEvent.

The ValidationEventLocator indicates where the ValidationEvent occurred.

ValidationException.javaClass This exception indicates that an error has occurred while performing a validate operation.

The ValidationEventHandler can cause this exception to be thrown during the validate operations.

Validator.javaInterface As of JAXB 2.0, this class is deprecated and optional.

The Validator class is responsible for controlling the validation of content trees during runtime.

Three Forms of Validation

Unmarshal-Time Validation
This form of validation enables a client application to receive information about validation errors and warnings detected while unmarshalling XML data into a Java content tree and is completely orthogonal to the other types of validation.
WhiteSpaceProcessor.javaClass Processes white space normalization.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.