public class XSUtil extends Object
| Constructor and Description |
|---|
XSUtil() |
| Modifier and Type | Method and Description |
|---|---|
static MyNamespaceSupport |
createNamespaceSupport(org.apache.xerces.xs.XSModel model) |
static org.apache.xerces.xs.XSAttributeDeclaration |
findAttributeDeclaration(org.apache.xerces.xs.XSModel schema,
List<QName> xpath) |
static org.apache.xerces.xs.XSElementDeclaration |
findElementDeclaration(org.apache.xerces.xs.XSModel schema,
List<QName> xpath) |
static List<String> |
getEnumeratedValues(org.apache.xerces.xs.XSSimpleTypeDefinition simpleType) |
static org.apache.xerces.xs.XSNamespaceItem |
getNamespaceItem(org.apache.xerces.xs.XSModel schema,
String namespace) |
static void |
getNamespacePrefixes(URL xsdURL,
Set<URL> crawled,
Properties prefixes) |
static QName |
getQName(org.apache.xerces.xs.XSObject obj) |
static QName |
getQName(org.apache.xerces.xs.XSObject obj,
MyNamespaceSupport nsSupport) |
static List<org.apache.xerces.xs.XSComplexTypeDefinition> |
getSubTypes(org.apache.xerces.xs.XSModel xsModel,
org.apache.xerces.xs.XSComplexTypeDefinition complexType) |
static List<org.apache.xerces.xs.XSElementDeclaration> |
guessRootElements(org.apache.xerces.xs.XSModel model) |
static void |
suggestNamespacePrefixes(URL xsdURL,
XMLDocument xml) |
public static MyNamespaceSupport createNamespaceSupport(org.apache.xerces.xs.XSModel model)
public static QName getQName(org.apache.xerces.xs.XSObject obj)
public static QName getQName(org.apache.xerces.xs.XSObject obj, MyNamespaceSupport nsSupport)
public static List<org.apache.xerces.xs.XSComplexTypeDefinition> getSubTypes(org.apache.xerces.xs.XSModel xsModel, org.apache.xerces.xs.XSComplexTypeDefinition complexType)
public static List<org.apache.xerces.xs.XSElementDeclaration> guessRootElements(org.apache.xerces.xs.XSModel model)
public static List<String> getEnumeratedValues(org.apache.xerces.xs.XSSimpleTypeDefinition simpleType)
public static org.apache.xerces.xs.XSNamespaceItem getNamespaceItem(org.apache.xerces.xs.XSModel schema,
String namespace)
public static org.apache.xerces.xs.XSElementDeclaration findElementDeclaration(org.apache.xerces.xs.XSModel schema,
List<QName> xpath)
public static org.apache.xerces.xs.XSAttributeDeclaration findAttributeDeclaration(org.apache.xerces.xs.XSModel schema,
List<QName> xpath)
public static void getNamespacePrefixes(URL xsdURL, Set<URL> crawled, Properties prefixes) throws ParserConfigurationException, SAXException, IOException
public static void suggestNamespacePrefixes(URL xsdURL, XMLDocument xml) throws IOException, SAXException, ParserConfigurationException
Copyright © 2021. All rights reserved.