public abstract class AbstractConverter<V> extends Object implements XMLConverter<V>
Constructor and Description |
---|
AbstractConverter() |
Modifier and Type | Method and Description |
---|---|
protected void |
attribute(XMLEventWriter writer,
XMLEventFactory f,
QName name,
String value) |
boolean |
canConvertToXML(V value) |
protected void |
end(XMLEventWriter writer,
XMLEventFactory f,
String name) |
String |
getNamespace() |
protected void |
start(XMLEventWriter writer,
XMLEventFactory f,
String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromXML, getElementNames, getValueType, toXML
public String getNamespace()
getNamespace
in interface XMLConverter<V>
protected void end(XMLEventWriter writer, XMLEventFactory f, String name) throws XMLStreamException
XMLStreamException
protected void start(XMLEventWriter writer, XMLEventFactory f, String name) throws XMLStreamException
XMLStreamException
public boolean canConvertToXML(V value)
canConvertToXML
in interface XMLConverter<V>
protected void attribute(XMLEventWriter writer, XMLEventFactory f, QName name, String value) throws XMLStreamException
XMLStreamException
Copyright © 2024 levigo holding gmbh. All rights reserved.