Class XMLWriter


  • public class XMLWriter
    extends Object
    A simple class whose primary purpose is to wrap the fairly unfriendly interface presented by the dom4j XMLWriter with one that is simpler to use.
    Author:
    Brian
    • Method Detail

      • startDocument

        public void startDocument()
      • startElement

        public void startElement​(org.alfresco.service.namespace.QName name)
      • startElement

        public void startElement​(org.alfresco.service.namespace.QName name,
                                 Attributes attrs)
      • endElement

        public void endElement​(org.alfresco.service.namespace.QName name)
      • startPrefixMapping

        public void startPrefixMapping​(String prefix,
                                       String uri)
      • endPrefixMapping

        public void endPrefixMapping​(String prefix)
      • endDocument

        public void endDocument()
      • addAttribute

        public void addAttribute​(AttributesImpl attrs,
                                 org.alfresco.service.namespace.QName name,
                                 String value)
      • addAttribute

        public void addAttribute​(AttributesImpl attrs,
                                 org.alfresco.service.namespace.QName name,
                                 int value)