javax.xml.bind.annotation

Class W3CDomHandler

Implemented Interfaces:
DomHandler<ElementT,ResultT,extends,Result>

public class W3CDomHandler
extends Object
implements DomHandler<ElementT,ResultT,extends,Result>

Constructor Summary

W3CDomHandler()
W3CDomHandler(DocumentBuilder builder)

Method Summary

DOMResult
createUnmarshaller(ValidationEventHandler errorHandler)
XXX
DocumentBuilder
getBuilder()
Element
getElement(DOMResult r)
Source
marshal(Element element, ValidationEventHandler errorHandler)
void
setBuilder(DocumentBuilder builder)

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

W3CDomHandler

public W3CDomHandler()
Usages and Demos :

View More Examples of W3CDomHandler()
   1: 
   2:     private static final W3CDomHandler domHandler = new W3CDomHandler();
   3:     private static final DomLoader domLoader = new DomLoader(domHandler);
   4:     private final XsiTypeLoader substLoader = new XsiTypeLoader(this);
   5: }

View Full Code Here

W3CDomHandler

public W3CDomHandler(DocumentBuilder builder)

Method Details

createUnmarshaller

public DOMResult createUnmarshaller(ValidationEventHandler errorHandler)
XXX
Specified by:
createUnmarshaller in interface DomHandler<ElementT,ResultT,extends,Result>

getBuilder

public DocumentBuilder getBuilder()

getElement

public Element getElement(DOMResult r)

marshal

public Source marshal(Element element,
                      ValidationEventHandler errorHandler)

setBuilder

public void setBuilder(DocumentBuilder builder)