Class CBuilderXProjectWriter.PropertyWriter

  • Enclosing class:
    CBuilderXProjectWriter

    private static class CBuilderXProjectWriter.PropertyWriter
    extends java.lang.Object
    Utility class to generate property elements.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.xml.sax.ContentHandler content
      Content handler.
      private org.xml.sax.helpers.AttributesImpl propertyAttributes
      Attributes list.
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertyWriter​(org.xml.sax.ContentHandler contentHandler)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void write​(java.lang.String category, java.lang.String name, java.lang.String value)
      Write property element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • content

        private org.xml.sax.ContentHandler content
        Content handler.
      • propertyAttributes

        private org.xml.sax.helpers.AttributesImpl propertyAttributes
        Attributes list.
    • Constructor Detail

      • PropertyWriter

        public PropertyWriter​(org.xml.sax.ContentHandler contentHandler)
        Constructor.
        Parameters:
        contentHandler - ContentHandler content handler
    • Method Detail

      • write

        public final void write​(java.lang.String category,
                                java.lang.String name,
                                java.lang.String value)
                         throws org.xml.sax.SAXException
        Write property element.
        Parameters:
        category - String category
        name - String property name
        value - String property value
        Throws:
        org.xml.sax.SAXException - if I/O error or illegal content