Class SampleXmlUtil
- java.lang.Object
-
- org.apache.xmlbeans.impl.xsd2inst.SampleXmlUtil
-
public class SampleXmlUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QNamecrackQName(String qName)Cracks a combined QName of the form URL:localnamestatic StringcreateSampleForType(SchemaField element)static StringcreateSampleForType(SchemaType sType)
-
-
-
Method Detail
-
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
-
-