This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.xml.bind.annotation
class W3CDomHandler

java.lang.Object extended by javax.xml.bind.annotation.W3CDomHandler
All Implemented Interfaces:
DomHandler

public class W3CDomHandler
extends Object
implements DomHandler

{@link DomHandler} implementation for W3C DOM (org.w3c.dom package.)


Constructor Summary

          Default constructor.

          Constructor that allows applications to specify which DOM implementation to be used.
 
Method Summary
 DOMResult

          
 DocumentBuilder

          
 Element

          
 Source
marshal(Element element, ValidationEventHandler errorHandler)

          
 void

          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

W3CDomHandler

public W3CDomHandler()
Default constructor. It is up to a JAXB provider to decide which DOM implementation to use or how that is configured.


W3CDomHandler

public W3CDomHandler(DocumentBuilder builder)
Constructor that allows applications to specify which DOM implementation to be used.

Parameters:
builder - must not be null. JAXB uses this {@link DocumentBuilder} to create a new element.
Method Detail

createUnmarshaller

public DOMResult createUnmarshaller(ValidationEventHandler errorHandler)
Parameters:
errorHandler

getBuilder

public DocumentBuilder getBuilder()

getElement

public Element getElement(DOMResult r)
Parameters:
r

marshal

public Source marshal(Element element,
                      ValidationEventHandler errorHandler)
Parameters:
element
errorHandler

setBuilder

public void setBuilder(DocumentBuilder builder)
Parameters:
builder


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.