public class DefaultAstXmlParser extends Object implements AstXmlParser
AstXmlParser.BuilderANNOTATIONS_IDENTIFIER, DOMAIN_ROOT_IDENTIFIER, IMPORT_IDENTIFIER, MULE_ROOT_IDENTIFIER| Constructor and Description |
|---|
DefaultAstXmlParser(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels,
ArtifactAst parentArtifact,
Optional<org.mule.runtime.extension.api.dsl.syntax.resources.spi.ExtensionSchemaGenerator> schemaGenerator,
org.mule.runtime.dsl.api.xml.parser.ParsingPropertyResolver propertyResolver,
ResolveEntityFailStrategy resolveEntityFailStrategy) |
| Modifier and Type | Method and Description |
|---|---|
ArtifactAst |
parse(List<org.mule.runtime.api.util.Pair<String,InputStream>> appXmlConfigInputStreams)
Generate a new
ArtifactAst representation form the XML read from the provided inputStreams. |
ArtifactAst |
parse(String resourceName,
InputStream appXmlConfigInputStream)
Generate a new
ArtifactAst representation form the XML read from the provided inputStream. |
ArtifactAst |
parse(URI... appXmlConfigUris)
Generate a new
ArtifactAst representation form the XML read from the provided uris. |
ArtifactAst |
parse(URL... appXmlConfigUrls)
Generate a new
ArtifactAst representation form the XML read from the provided urls. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic DefaultAstXmlParser(Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels, ArtifactAst parentArtifact, Optional<org.mule.runtime.extension.api.dsl.syntax.resources.spi.ExtensionSchemaGenerator> schemaGenerator, org.mule.runtime.dsl.api.xml.parser.ParsingPropertyResolver propertyResolver, ResolveEntityFailStrategy resolveEntityFailStrategy)
public ArtifactAst parse(List<org.mule.runtime.api.util.Pair<String,InputStream>> appXmlConfigInputStreams)
AstXmlParserArtifactAst representation form the XML read from the provided inputStreams.
The parsing process will resolve references in import tags. Relative paths will be resolved using
the currently set ThreadContextClassLoader.
parse in interface AstXmlParserappXmlConfigInputStreams - the streams that will provide the XML content to be parsed. The first part of each pair is
the name to be used as fileName in the metadata of the generates ArtifactAst.ArtifactAst representation of the provided XML config.public ArtifactAst parse(String resourceName, InputStream appXmlConfigInputStream)
AstXmlParserArtifactAst representation form the XML read from the provided inputStream.
The parsing process will resolve references in import tags. Relative paths will be resolved using
the currently set ThreadContextClassLoader.
parse in interface AstXmlParserresourceName - the name to be used as fileName in the metadata of the generates ArtifactAst.appXmlConfigInputStream - the stream that will provide the XML content to be parsed.ArtifactAst representation of the provided XML config.public ArtifactAst parse(URI... appXmlConfigUris)
AstXmlParserArtifactAst representation form the XML read from the provided uris.
The parsing process will resolve references in import tags. Relative paths will be resolved using
the currently set ThreadContextClassLoader.
parse in interface AstXmlParserappXmlConfigUris - the uris that will provide the XML content to be parsed.ArtifactAst representation of the provided XML config.public ArtifactAst parse(URL... appXmlConfigUrls)
AstXmlParserArtifactAst representation form the XML read from the provided urls.
The parsing process will resolve references in import tags. Relative paths will be resolved using
the currently set ThreadContextClassLoader.
parse in interface AstXmlParserappXmlConfigUrls - the urls that will provide the XML content to be parsed.ArtifactAst representation of the provided XML config.Copyright © 2025 MuleSoft, Inc.. All rights reserved.