public abstract class DomXmlSerializer<T> extends Object implements XmlSerializer<T>
| Modifier | Constructor and Description |
|---|---|
protected |
DomXmlSerializer(String xmlns) |
| Modifier and Type | Method and Description |
|---|---|
Element |
addChild(Document doc,
Node parent,
String childName) |
protected Optional<String> |
getAttributeValue(Element node,
String attr) |
protected List<Element> |
getChildElements(Element parent,
String tagName) |
protected DocumentBuilder |
getDocumentBuilder() |
protected Optional<Element> |
getElement(Document doc,
String elementName) |
protected String |
getElementTextContent(Element element) |
protected Optional<Element> |
getOptionalSingleChildElement(Element parent,
String tagName) |
protected String |
getRequiredAttributeValue(Element node,
String attr) |
protected Element |
getSingleChildElement(Element parent,
String tagName) |
protected String |
serialize(Document document) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserialize, serializeprotected final String xmlns
protected DomXmlSerializer(String xmlns)
protected DocumentBuilder getDocumentBuilder() throws ParserConfigurationException
ParserConfigurationExceptionprotected Optional<Element> getOptionalSingleChildElement(Element parent, String tagName)
protected String serialize(Document document) throws TransformerException
TransformerExceptionCopyright © 2008–2021 RIPE Network Coordination Centre (RIPE NCC). All rights reserved.