Uses of Enum Class
legacyxml.XmlFormat

Packages that use XmlFormat
Package
Description
Export of JMT models to the XML format of earlier JMT releases (JDK only), for compatibility with legacy model files.
  • Uses of XmlFormat in legacyxml

    Subclasses with type arguments of type XmlFormat in legacyxml
    Modifier and Type
    Class
    Description
    enum 
    XML dialects JMT has written.
    Methods in legacyxml that return XmlFormat
    Modifier and Type
    Method
    Description
    static XmlFormat
    XmlFormat.fromName(String name)
    Resolves a release label such as "1.4.0" or "current".
    static XmlFormat
    XmlFormat.valueOf(String name)
    Returns the enum constant of this class with the specified name.
    static XmlFormat[]
    XmlFormat.values()
    Returns an array containing the constants of this enum class, in the order they are declared.
    Methods in legacyxml with parameters of type XmlFormat
    Modifier and Type
    Method
    Description
    static void
    LegacyXmlExporter.convert(Document doc, XmlFormat target)
    Rewrites every classPath attribute of the document in place.
    static String
    LegacyXmlExporter.convertClassName(String name, XmlFormat target)
    Maps one class name to the requested format; names it does not recognise (java.*, already converted) are returned as is.
    static void
    LegacyXmlExporter.export(File in, File out, XmlFormat target)
    Reads in (any format), writes out in target format.