Documentation of 'bayesnet.jayes.io.util.XMLUtil' Java class
XMLUtil
bayesnet.jayes.io.util

Class XMLUtil



  • public final class XMLUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String addTab(java.lang.String text)
      adds a tab to every line
      static void emptyTag(java.lang.StringBuilder stringBuilder, java.lang.String tagname, java.lang.String... attributes) 
      static java.lang.String escape(java.lang.String text) 
      static void surround(int offset, java.lang.StringBuilder bldr, java.lang.String surroundingTag, java.lang.String... attributes)
      this method expects the attributes in pairwise name, value form e.g.
      static java.lang.String unescape(java.lang.String text) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • surround

        public static void surround(int offset,
                                    java.lang.StringBuilder bldr,
                                    java.lang.String surroundingTag,
                                    java.lang.String... attributes)
        this method expects the attributes in pairwise name, value form e.g.
        attributes = [ "id", "12345", "size", "15" ]
      • addTab

        public static java.lang.String addTab(java.lang.String text)
        adds a tab to every line
        Parameters:
        text -
        Returns:
      • emptyTag

        public static void emptyTag(java.lang.StringBuilder stringBuilder,
                                    java.lang.String tagname,
                                    java.lang.String... attributes)
      • escape

        public static java.lang.String escape(java.lang.String text)
      • unescape

        public static java.lang.String unescape(java.lang.String text)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.