- java.lang.Object
-
- javax.xml.bind.annotation.W3CDomHandler
-
- All Implemented Interfaces:
DomHandler<Element,DOMResult>
public class W3CDomHandler extends Object implements DomHandler<Element,DOMResult>
DomHandlerimplementation for W3C DOM (org.w3c.dompackage.)- Since:
- 1.6, JAXB 2.0
-
-
Constructor Summary
Constructors Constructor Description W3CDomHandler()Default constructor.W3CDomHandler(DocumentBuilder builder)Constructor that allows applications to specify which DOM implementation to be used.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentBuildergetBuilder()voidsetBuilder(DocumentBuilder builder)-
Methods declared in interface javax.xml.bind.annotation.DomHandler
createUnmarshaller, getElement, marshal
-
-
-
-
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 thisDocumentBuilderto create a new element.
-
-
Method Detail
-
getBuilder
public DocumentBuilder getBuilder()
-
setBuilder
public void setBuilder(DocumentBuilder builder)
-
-