public class SampleXmlUtil extends Object
Modifier and Type | Field and Description |
---|---|
static QName |
ENC_ARRAYTYPE |
static Set<QName> |
SKIPPED_SOAP_ATTRS |
static String[] |
WORDS |
static QName |
XSI_TYPE |
Constructor and Description |
---|
SampleXmlUtil(boolean soapEnc) |
Modifier and Type | Method and Description |
---|---|
static QName |
crackQName(String qName)
Cracks a combined QName of the form URL:localname
|
String |
createSample(org.apache.xmlbeans.SchemaType sType) |
static String |
createSampleForElement(org.apache.xmlbeans.SchemaGlobalElement element) |
static String |
createSampleForType(org.apache.xmlbeans.SchemaType sType) |
void |
createSampleForType(org.apache.xmlbeans.SchemaType stype,
org.apache.xmlbeans.XmlCursor xmlc)
Cursor position Before:
|
boolean |
isExampleContent() |
boolean |
isIgnoreOptional() |
boolean |
isSoapEnc() |
boolean |
isTypeComment() |
void |
setExampleContent(boolean content) |
void |
setIgnoreOptional(boolean ignoreOptional) |
void |
setMultiValues(Map<QName,String[]> multiValues) |
void |
setTypeComment(boolean comment) |
public static final String[] WORDS
public static final QName XSI_TYPE
public static final QName ENC_ARRAYTYPE
public boolean isSoapEnc()
public boolean isExampleContent()
public void setExampleContent(boolean content)
public boolean isTypeComment()
public void setTypeComment(boolean comment)
public String createSample(org.apache.xmlbeans.SchemaType sType)
public static String createSampleForElement(org.apache.xmlbeans.SchemaGlobalElement element)
public static String createSampleForType(org.apache.xmlbeans.SchemaType sType)
public void createSampleForType(org.apache.xmlbeans.SchemaType stype, org.apache.xmlbeans.XmlCursor xmlc)
public static QName crackQName(String qName)
public boolean isIgnoreOptional()
public void setIgnoreOptional(boolean ignoreOptional)
Copyright © 2019. All Rights Reserved.