public class YamlParser extends AbstractParser
TYPE_DEFINITION, VALUE_FIELD
Constructor and Description |
---|
YamlParser() |
Modifier and Type | Method and Description |
---|---|
boolean |
canParse(File file) |
boolean |
canParse(String dataString) |
com.fasterxml.jackson.dataformat.yaml.YAMLGenerator |
createGenerator(StringWriter out) |
protected MidpointYAMLParser |
createParser(File file) |
protected MidpointYAMLParser |
createParser(InputStream stream) |
protected MidpointYAMLParser |
createParser(String dataString) |
protected boolean |
serializeExplicitType(PrimitiveXNode primitive,
QName explicitType,
com.fasterxml.jackson.core.JsonGenerator generator) |
protected void |
writeExplicitType(QName explicitType,
com.fasterxml.jackson.core.JsonGenerator generator) |
getExplicitType, parse, parse, parse, parseCollection, parseCollection, parseCollection, parseObject, serialize, serializeToString, serializeToString
public boolean canParse(File file) throws IOException
IOException
public boolean canParse(String dataString)
public com.fasterxml.jackson.dataformat.yaml.YAMLGenerator createGenerator(StringWriter out) throws SchemaException
createGenerator
in class AbstractParser
SchemaException
protected MidpointYAMLParser createParser(File file) throws SchemaException, IOException
createParser
in class AbstractParser
SchemaException
IOException
protected MidpointYAMLParser createParser(InputStream stream) throws SchemaException, IOException
createParser
in class AbstractParser
SchemaException
IOException
protected MidpointYAMLParser createParser(String dataString) throws SchemaException
createParser
in class AbstractParser
SchemaException
protected boolean serializeExplicitType(PrimitiveXNode primitive, QName explicitType, com.fasterxml.jackson.core.JsonGenerator generator) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
serializeExplicitType
in class AbstractParser
com.fasterxml.jackson.core.JsonGenerationException
IOException
protected void writeExplicitType(QName explicitType, com.fasterxml.jackson.core.JsonGenerator generator) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
writeExplicitType
in class AbstractParser
com.fasterxml.jackson.core.JsonGenerationException
IOException
Copyright © 2016 evolveum. All rights reserved.