Package org.mule.metadata.xml.api.utils
Class XmlSchemaUtils
- java.lang.Object
-
- org.mule.metadata.xml.api.utils.XmlSchemaUtils
-
public class XmlSchemaUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlSchemaUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QNamegetRootElementName(Reader xmlDocument)static Optional<QName>getXmlSchemaRootElementName(List<String> schemas, String example)
-
-
-
Method Detail
-
getXmlSchemaRootElementName
public static Optional<QName> getXmlSchemaRootElementName(List<String> schemas, String example)
- Parameters:
schemas-example-- Returns:
-
getRootElementName
public static QName getRootElementName(Reader xmlDocument) throws IOException
- Throws:
IOException
-
-