Uses of Class
tools.jackson.dataformat.xml.ser.XmlGeneratorInitializer
Packages that use XmlGeneratorInitializer
-
Uses of XmlGeneratorInitializer in tools.jackson.dataformat.xml.ser
Methods in tools.jackson.dataformat.xml.ser that return XmlGeneratorInitializerModifier and TypeMethodDescriptionprotected XmlGeneratorInitializerXmlGeneratorInitializer._add(PrologDirective d) XmlGeneratorInitializer.addComment(String commentContent) Method for adding XML comment; to be written at position added relative to other directives (but always after XML Declaration which must come before any other output; and before Document Root element)XmlGeneratorInitializer.addDefaultNamespace(String namespaceURI) Method for specifying namespace URI to preferentially bind to the "default namespace" (one used when element has no prefix).XmlGeneratorInitializer.addDTD(String rootName, String systemId, String publicId, String internalSubset) Convenience method that constructsDTDout of arguments and callsaddDTD(DTD).Method for adding Document Type Declaration (DTD) directive; to be written at position added relative to other directives (but always after XML Declaration which must come before any other output; and before Document Root element)XmlGeneratorInitializer.addNamespace(String prefix, String namespaceURI) Method for adding a mapping (binding) between given prefix and matching namespace URI.Method for adding XML Processing Instruction (PI); to be written at position added relative to other directives (but always after XML Declaration which must come before any other output; and before Document Root element)XmlGeneratorInitializer.addRootAttribute(String localName, String value) Convenience overload ofaddRootAttribute(QName, String)for adding non-namespaced attribute by local name.XmlGeneratorInitializer.addRootAttribute(QName name, String value) Method for adding an attribute to be written on the root element of the output document.XmlGeneratorInitializer.addXmlDeclaration(String version, String encoding) Method for specifying custom XML declaration to write.XmlGeneratorInitializer.addXmlDeclaration(String version, String encoding, boolean standalone) Method for specifying custom XML declaration to write.XmlGeneratorInitializer.addXmlDeclaration(XmlDeclaration xmlDeclaration) Method for specifying custom XML declaration to write.XmlGeneratorInitializer.linefeedsBetweenPrologDirectives(boolean addLFs) Method to change whether line-feeds are to be added between Prolog directives or not: default being they are (enabled).