org.ow2.orchestra.console.ws.server.xsd2inst
Class SampleXmlUtil
java.lang.Object
org.ow2.orchestra.console.ws.server.xsd2inst.SampleXmlUtil
public class SampleXmlUtil
- extends Object
Warning: Derivative work.
Original source material for Apache XmlBeans project
Modification done for the orchestra project:
- Changed from private to public most of the below methods
TODO:
Comment on enumerations?
Comment on facets?
Have a verbose option?
Have a sample data option, would create valid instance with sample data?
Add the pattern facet; this is tricky, considering the relationship with length
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WORDS
public static final String[] WORDS
SampleXmlUtil
public SampleXmlUtil(boolean soapEnc)
createSampleForType
public static String createSampleForType(org.apache.xmlbeans.SchemaType sType)
createSampleForType
public void createSampleForType(org.apache.xmlbeans.SchemaType stype,
org.apache.xmlbeans.XmlCursor xmlc)
- Cursor position
Before:
^
After:
^
crackQName
public static QName crackQName(String qName)
- Cracks a combined QName of the form URL:localname
Copyright © 2012 OW2 Consortium. All Rights Reserved.