public class TypesResolverBuilder extends Object
| Constructor and Description |
|---|
TypesResolverBuilder(URI baseUri) |
| Modifier and Type | Method and Description |
|---|---|
void |
catalogFormat(String format) |
void |
catalogName(String name) |
void |
exampleContent(String exampleContent) |
void |
exampleFormat(String exampleFormat) |
void |
exampleLocation(String exampleLocation) |
String |
getCatalogName() |
protected sun.net.www.protocol.jar.JarURLConnection |
getJarConnection(URI schemaUri)
Returns a default use connection with additional logic, preventing file leaks
|
protected void |
postJarConnectionAction(JarURLConnection jarConnection,
boolean previousDefaultUseCaches)
An action taken after the use of a JAR connection to prevent file leaks.
|
void |
schemaContent(String schemaContent) |
void |
schemaFormat(String schemaFormat) |
void |
schemaLocation(String schemaLocation) |
public static final String JAR
public TypesResolverBuilder(URI baseUri)
public void catalogName(String name)
public String getCatalogName()
public void catalogFormat(String format)
public void schemaFormat(String schemaFormat)
public void schemaLocation(String schemaLocation)
public void schemaContent(String schemaContent)
public void exampleFormat(String exampleFormat)
public void exampleLocation(String exampleLocation)
public void exampleContent(String exampleContent)
protected void postJarConnectionAction(JarURLConnection jarConnection, boolean previousDefaultUseCaches)
jarConnection - the jar connection usedpreviousDefaultUseCaches - the defaultUseCaches before processing.protected sun.net.www.protocol.jar.JarURLConnection getJarConnection(URI schemaUri) throws MalformedURLException, IOException
schemaUri - URI for the jarMalformedURLException - in case the schemaURI is malformedIOException - an IO exception during the jar connection creationCopyright © 2025 MuleSoft, Inc.. All rights reserved.