org.ow2.orchestra.console.ws.server.xsd2inst
Class SampleXmlUtil

java.lang.Object
  extended by 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:

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


Field Summary
static String[] WORDS
           
 
Constructor Summary
SampleXmlUtil(boolean soapEnc)
           
 
Method Summary
static QName crackQName(String qName)
          Cracks a combined QName of the form URL:localname
static String createSampleForType(org.apache.xmlbeans.SchemaType sType)
           
 void createSampleForType(org.apache.xmlbeans.SchemaType stype, org.apache.xmlbeans.XmlCursor xmlc)
          Cursor position Before: ^ After: ^
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WORDS

public static final String[] WORDS
Constructor Detail

SampleXmlUtil

public SampleXmlUtil(boolean soapEnc)
Method Detail

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.