- java.lang.Object
-
- javax.xml.bind.annotation.W3CDomHandler
-
- All Implemented Interfaces:
DomHandler<Element,DOMResult>
public class W3CDomHandler extends Object implements DomHandler<Element,DOMResult>
DomHandler
implementation for W3C DOM (org.w3c.dom
package.)- 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 DocumentBuilder
getBuilder()
void
setBuilder(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 thisDocumentBuilder
to create a new element.
-
-
Method Detail
-
getBuilder
public DocumentBuilder getBuilder()
-
setBuilder
public void setBuilder(DocumentBuilder builder)
-
-