Class SampleXmlUtil

java.lang.Object
org.apache.xmlbeans.impl.xsd2inst.SampleXmlUtil

public class SampleXmlUtil extends Object
  • Method Details

    • createSampleForType

      public static String createSampleForType(SchemaType sType)
      Parameters:
      sType - a schema type
      Returns:
      Sample XML as a string
    • createSampleForType

      public static String createSampleForType(SchemaField element)
      Parameters:
      element - a {code SchemaField}
      Returns:
      Sample XML as a string
      Since:
      v5.0.3
    • crackQName

      public static QName crackQName(String qName)
      Cracks a combined QName of the form URL:localname