|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils
public class SchemaUtils
XML-Schema related tools
Constructor Summary | |
---|---|
SchemaUtils()
|
Method Summary | |
---|---|
static org.apache.xmlbeans.SchemaTypeLoader |
buildSchemaTypes(java.util.List<org.apache.xmlbeans.XmlObject> schemas,
SoapVersion soapVersion)
|
static java.util.Collection<java.lang.String> |
extractNamespaces(org.apache.xmlbeans.SchemaTypeSystem schemaTypes)
Extracts namespaces - used in tool integrations for mapping.. |
static void |
getDefinitionParts(java.lang.String wsdlUrl,
java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> existing,
WsdlLoader loader)
|
static java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> |
getDefinitionParts(WsdlLoader loader)
Returns a map mapping urls to corresponding XmlObjects for the specified wsdlUrl |
static java.lang.String |
getDocumentation(org.apache.xmlbeans.SchemaParticle particle,
org.apache.xmlbeans.SchemaType schemaType)
|
static java.lang.String[] |
getEnumerationValues(org.apache.xmlbeans.SchemaType schemaType,
boolean addNull)
|
static void |
getSchemas(java.lang.String wsdlUrl,
java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> existing,
WsdlLoader loader,
java.lang.String tns)
Returns a map mapping urls to corresponding XmlSchema XmlObjects for the specified wsdlUrl |
static java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> |
getSchemas(java.lang.String wsdlUrl,
WsdlLoader loader)
|
static java.lang.String |
getTargetNamespace(org.apache.xmlbeans.XmlObject s)
|
static void |
initDefaultSchemas()
|
static boolean |
isBinaryType(org.apache.xmlbeans.SchemaType schemaType)
|
static boolean |
isInstanceOf(org.apache.xmlbeans.SchemaType schemaType,
org.apache.xmlbeans.SchemaType baseType)
|
static org.apache.xmlbeans.SchemaTypeLoader |
loadSchemaTypes(java.lang.String wsdlUrl,
SoapVersion soapVersion,
WsdlLoader loader)
|
static void |
removeImports(org.apache.xmlbeans.XmlObject xmlObject)
Used when creating a TypeSystem from a complete collection of SchemaDocuments so that referenced types are not downloaded (again) |
static boolean |
toNextContainer(org.apache.xmlbeans.XmlCursor cursor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaUtils()
Method Detail |
---|
public static void initDefaultSchemas()
public static org.apache.xmlbeans.SchemaTypeLoader loadSchemaTypes(java.lang.String wsdlUrl, SoapVersion soapVersion, WsdlLoader loader) throws SchemaException
SchemaException
public static org.apache.xmlbeans.SchemaTypeLoader buildSchemaTypes(java.util.List<org.apache.xmlbeans.XmlObject> schemas, SoapVersion soapVersion) throws SchemaException
SchemaException
public static boolean toNextContainer(org.apache.xmlbeans.XmlCursor cursor)
public static java.lang.String getTargetNamespace(org.apache.xmlbeans.XmlObject s)
public static java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> getSchemas(java.lang.String wsdlUrl, WsdlLoader loader) throws SchemaException
SchemaException
public static void getSchemas(java.lang.String wsdlUrl, java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> existing, WsdlLoader loader, java.lang.String tns) throws SchemaException
SchemaException
public static java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> getDefinitionParts(WsdlLoader loader) throws java.lang.Exception
java.lang.Exception
public static void getDefinitionParts(java.lang.String wsdlUrl, java.util.Map<java.lang.String,org.apache.xmlbeans.XmlObject> existing, WsdlLoader loader) throws java.lang.Exception
java.lang.Exception
public static java.util.Collection<java.lang.String> extractNamespaces(org.apache.xmlbeans.SchemaTypeSystem schemaTypes)
public static void removeImports(org.apache.xmlbeans.XmlObject xmlObject) throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlException
public static boolean isInstanceOf(org.apache.xmlbeans.SchemaType schemaType, org.apache.xmlbeans.SchemaType baseType)
public static boolean isBinaryType(org.apache.xmlbeans.SchemaType schemaType)
public static java.lang.String getDocumentation(org.apache.xmlbeans.SchemaParticle particle, org.apache.xmlbeans.SchemaType schemaType)
public static java.lang.String[] getEnumerationValues(org.apache.xmlbeans.SchemaType schemaType, boolean addNull)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |