javax.xml.bind.annotation
Class W3CDomHandler

java.lang.Object
  extended by javax.xml.bind.annotation.W3CDomHandler
All Implemented Interfaces:
DomHandler<Element,DOMResult>

public class W3CDomHandler
extends Object
implements DomHandler<Element,DOMResult>


Constructor Summary
W3CDomHandler()
           
W3CDomHandler(DocumentBuilder builder)
           
 
Method Summary
 DOMResult createUnmarshaller(ValidationEventHandler errorHandler)
           
 DocumentBuilder getBuilder()
           
 Element getElement(DOMResult rt)
           
 Source marshal(Element n, ValidationEventHandler errorHandler)
           
 void setBuilder(DocumentBuilder builder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

W3CDomHandler

public W3CDomHandler()

W3CDomHandler

public W3CDomHandler(DocumentBuilder builder)
Method Detail

createUnmarshaller

public DOMResult createUnmarshaller(ValidationEventHandler errorHandler)
Specified by:
createUnmarshaller in interface DomHandler<Element,DOMResult>

getBuilder

public DocumentBuilder getBuilder()

getElement

public Element getElement(DOMResult rt)
Specified by:
getElement in interface DomHandler<Element,DOMResult>

marshal

public Source marshal(Element n,
                      ValidationEventHandler errorHandler)
Specified by:
marshal in interface DomHandler<Element,DOMResult>

setBuilder

public void setBuilder(DocumentBuilder builder)


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.