Package org.mule.metadata.xml.api.utils
Class SchemaHelper
- java.lang.Object
-
- org.mule.metadata.xml.api.utils.SchemaHelper
-
public class SchemaHelper extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchemaHelper.XmlDoc
-
Constructor Summary
Constructors Constructor Description SchemaHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>generateXSD(File xmlFile)static List<String>generateXSD(String xmlExample)static List<SchemaFetcher.XsdDependency>getDependencies(File schema)static Collection<SchemaHelper.XmlDoc>getDocumentation(String annotationContent)static StringgetLocalName(Element child)static booleanisDocumentationTag(Node child)
-
-
-
Method Detail
-
getDocumentation
public static Collection<SchemaHelper.XmlDoc> getDocumentation(String annotationContent)
-
isDocumentationTag
public static boolean isDocumentationTag(Node child)
-
getDependencies
public static List<SchemaFetcher.XsdDependency> getDependencies(File schema)
-
generateXSD
public static List<String> generateXSD(String xmlExample) throws IOException
- Throws:
IOException
-
generateXSD
public static List<String> generateXSD(File xmlFile) throws IOException
- Throws:
IOException
-
-