public class SchemaUtils extends Object
| Constructor and Description | 
|---|
| SchemaUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.xmlbeans.SchemaTypeSystem | buildSchemaTypes(List<org.apache.xmlbeans.XmlObject> schemas) | 
| static Collection<String> | extractNamespaces(org.apache.xmlbeans.SchemaTypeSystem schemaTypes,
                 boolean removeDefault)Extracts namespaces - used in tool integrations for mapping.. | 
| static Map<String,org.apache.xmlbeans.XmlObject> | getDefinitionParts(SchemaLoader loader)Returns a map mapping urls to corresponding XmlObjects for the specified
 wsdlUrl | 
| static void | getDefinitionParts(String origWsdlUrl,
                  Map<String,org.apache.xmlbeans.XmlObject> existing,
                  SchemaLoader loader) | 
| static String | getDocumentation(org.apache.xmlbeans.SchemaType schemaType) | 
| static String[] | getEnumerationValues(org.apache.xmlbeans.SchemaType schemaType,
                    boolean addNull) | 
| static Collection<? extends QName> | getExcludedTypes() | 
| static void | getSchemas(String wsdlUrl,
          Map<String,org.apache.xmlbeans.XmlObject> existing,
          SchemaLoader loader,
          String tns)Returns a map mapping urls to corresponding XmlSchema XmlObjects for the
 specified wsdlUrl | 
| static Map<String,org.apache.xmlbeans.XmlObject> | getSchemas(String wsdlUrl,
          SchemaLoader loader) | 
| static String | getTargetNamespace(org.apache.xmlbeans.XmlObject s) | 
| static void | initDefaultSchemas() | 
| static boolean | isAnyType(org.apache.xmlbeans.SchemaType schemaType) | 
| 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.SchemaTypeSystem | loadSchemaTypes(String wsdlUrl,
               SchemaLoader 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) | 
public static void initDefaultSchemas()
public static org.apache.xmlbeans.SchemaTypeSystem loadSchemaTypes(String wsdlUrl, SchemaLoader loader) throws SchemaException
SchemaExceptionpublic static org.apache.xmlbeans.SchemaTypeSystem buildSchemaTypes(List<org.apache.xmlbeans.XmlObject> schemas) throws SchemaException
SchemaExceptionpublic static boolean toNextContainer(org.apache.xmlbeans.XmlCursor cursor)
public static String getTargetNamespace(org.apache.xmlbeans.XmlObject s)
public static Map<String,org.apache.xmlbeans.XmlObject> getSchemas(String wsdlUrl, SchemaLoader loader) throws SchemaException
SchemaExceptionpublic static void getSchemas(String wsdlUrl, Map<String,org.apache.xmlbeans.XmlObject> existing, SchemaLoader loader, String tns) throws SchemaException
SchemaExceptionpublic static Map<String,org.apache.xmlbeans.XmlObject> getDefinitionParts(SchemaLoader loader) throws Exception
Exceptionpublic static void getDefinitionParts(String origWsdlUrl, Map<String,org.apache.xmlbeans.XmlObject> existing, SchemaLoader loader) throws Exception
Exceptionpublic static Collection<String> extractNamespaces(org.apache.xmlbeans.SchemaTypeSystem schemaTypes, boolean removeDefault)
public static void removeImports(org.apache.xmlbeans.XmlObject xmlObject)
                          throws org.apache.xmlbeans.XmlException
org.apache.xmlbeans.XmlExceptionpublic static boolean isInstanceOf(org.apache.xmlbeans.SchemaType schemaType,
                                   org.apache.xmlbeans.SchemaType baseType)
public static boolean isBinaryType(org.apache.xmlbeans.SchemaType schemaType)
public static String getDocumentation(org.apache.xmlbeans.SchemaType schemaType)
public static String[] getEnumerationValues(org.apache.xmlbeans.SchemaType schemaType, boolean addNull)
public static Collection<? extends QName> getExcludedTypes()
public static boolean isAnyType(org.apache.xmlbeans.SchemaType schemaType)
Copyright © 2019. All Rights Reserved.