public class ParserV2Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PARSER_V2_PROPERTY |
| Constructor and Description |
|---|
ParserV2Utils() |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.raml.interfaces.model.IRaml |
build(org.raml.v2.api.loader.ResourceLoader resourceLoader,
String ramlPath) |
static org.mule.raml.interfaces.model.IRaml |
build(org.raml.v2.api.loader.ResourceLoader resourceLoader,
String ramlPath,
String content) |
static List<String> |
findIncludeNodes(String rootPath,
org.raml.yagi.framework.nodes.Node raml,
org.raml.v2.api.loader.ResourceLoader resourceLoader) |
static List<String> |
findIncludeNodes(String rootPath,
URI ramlURI,
org.raml.v2.api.loader.ResourceLoader resourceLoader) |
static List<String> |
findIncludeNodes(URI ramlURI,
org.raml.v2.api.loader.ResourceLoader resourceLoader) |
static String |
nullSafe(org.raml.v2.api.model.v10.system.types.AnnotableSimpleType<?> simpleType) |
static boolean |
useParserV2(String content) |
static List<org.mule.raml.interfaces.parser.rule.IValidationResult> |
validate(org.raml.v2.api.loader.ResourceLoader resourceLoader,
String ramlPath) |
static List<org.mule.raml.interfaces.parser.rule.IValidationResult> |
validate(org.raml.v2.api.loader.ResourceLoader resourceLoader,
String ramlPath,
String content) |
public static final String PARSER_V2_PROPERTY
public static org.mule.raml.interfaces.model.IRaml build(org.raml.v2.api.loader.ResourceLoader resourceLoader,
String ramlPath)
public static org.mule.raml.interfaces.model.IRaml build(org.raml.v2.api.loader.ResourceLoader resourceLoader,
String ramlPath,
String content)
public static List<org.mule.raml.interfaces.parser.rule.IValidationResult> validate(org.raml.v2.api.loader.ResourceLoader resourceLoader, String ramlPath, String content)
public static List<org.mule.raml.interfaces.parser.rule.IValidationResult> validate(org.raml.v2.api.loader.ResourceLoader resourceLoader, String ramlPath)
public static boolean useParserV2(String content)
public static String nullSafe(org.raml.v2.api.model.v10.system.types.AnnotableSimpleType<?> simpleType)
public static List<String> findIncludeNodes(URI ramlURI, org.raml.v2.api.loader.ResourceLoader resourceLoader) throws IOException
IOExceptionpublic static List<String> findIncludeNodes(String rootPath, URI ramlURI, org.raml.v2.api.loader.ResourceLoader resourceLoader) throws IOException
IOExceptionpublic static List<String> findIncludeNodes(String rootPath, org.raml.yagi.framework.nodes.Node raml, org.raml.v2.api.loader.ResourceLoader resourceLoader) throws IOException
IOExceptionCopyright © 2019. All rights reserved.