Class XMLWriterParsingContext

    • Field Detail

      • theWriter

        protected java.io.Writer theWriter
        The writer
    • Constructor Detail

      • XMLWriterParsingContext

        public XMLWriterParsingContext​(XMLFuzzyHierarchicalParseState theStream,
                                       java.lang.String namespace,
                                       java.lang.String localname,
                                       java.lang.String qname,
                                       java.util.Map<java.lang.String,​java.lang.String> theseAttributes,
                                       java.io.Writer writer)
                                throws ManifoldCFException
        Full constructor. Used for individual tags.
        Throws:
        ManifoldCFException
    • Method Detail

      • escapeAttribute

        protected static java.lang.String escapeAttribute​(java.lang.String value)
        Convert a string to a value that's safe to include inside an attribute value
      • escapeCharData

        protected static void escapeCharData​(java.lang.String body,
                                             java.io.Writer out)
                                      throws java.io.IOException
        Escapes sequence of characters to output writer
        Throws:
        java.io.IOException