Skip navigation links
org.apache.jackrabbit.vault.util.xml.serialize

Class XMLSerializer

    • Method Detail

      • setOutputFormat

        public void setOutputFormat(OutputFormat format)
        Description copied from interface: Serializer
        Specifies an output format for this serializer. It the serializer has already been associated with an output format, it will switch to the new format. This method should not be called while the serializer is in the process of serializing a document.
        Specified by:
        setOutputFormat in interface Serializer
        Overrides:
        setOutputFormat in class BaseMarkupSerializer
        Parameters:
        format - The output format to use
      • setNamespaces

        public void setNamespaces(boolean namespaces)
        This methods turns on namespace fixup algorithm during DOM serialization.
        Parameters:
        namespaces -
      • startElement

        public void startElement(java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String rawName,
                                 org.xml.sax.Attributes attrs)
                          throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • endElement

        public void endElement(java.lang.String namespaceURI,
                               java.lang.String localName,
                               java.lang.String rawName)
                        throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • endElementIO

        public void endElementIO(java.lang.String namespaceURI,
                                 java.lang.String localName,
                                 java.lang.String rawName)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • startElement

        public void startElement(java.lang.String tagName,
                                 org.xml.sax.AttributeList attrs)
                          throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException
      • endElement

        public void endElement(java.lang.String tagName)
                        throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException

Copyright © 2010 - 2020 Adobe. All Rights Reserved