java.lang.Object
tools.jackson.dataformat.xml.ser.NamespaceBinding
- All Implemented Interfaces:
XmlGeneratorWritable
Entity representing binding from prefix to namespace URI, used
to determine prefix to use for given namespace URI (and dynamically
adding necessary declarations)
- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(ToXmlGenerator xmlGen, org.codehaus.stax2.XMLStreamWriter2 sw) Method to call to actually write out the entity using givenXMLStreamWriter2.
-
Constructor Details
-
NamespaceBinding
-
-
Method Details
-
write
public void write(ToXmlGenerator xmlGen, org.codehaus.stax2.XMLStreamWriter2 sw) throws XMLStreamException Description copied from interface:XmlGeneratorWritableMethod to call to actually write out the entity using givenXMLStreamWriter2.ToXmlGeneratoris only passed in case access to configuration was needed.- Specified by:
writein interfaceXmlGeneratorWritable- Parameters:
xmlGen- Generator that called this method: MUST NOT call its output methods, only to be used for configuration accesssw- Writer to use for actual output of XML event- Throws:
XMLStreamException
-