PackageCompactConstructorpublic class CompactConstructor extends Constructor
| Modifier and Type | Class | Description |
|---|---|---|
class |
CompactConstructor.ConstructCompactObject |
Constructor.ConstructMapping, Constructor.ConstructScalar, Constructor.ConstructSequence, Constructor.ConstructYamlObjectSafeConstructor.ConstructUndefined, SafeConstructor.ConstructYamlBinary, SafeConstructor.ConstructYamlBool, SafeConstructor.ConstructYamlFloat, SafeConstructor.ConstructYamlInt, SafeConstructor.ConstructYamlMap, SafeConstructor.ConstructYamlNull, SafeConstructor.ConstructYamlOmap, SafeConstructor.ConstructYamlPairs, SafeConstructor.ConstructYamlSeq, SafeConstructor.ConstructYamlSet, SafeConstructor.ConstructYamlStr, SafeConstructor.ConstructYamlTimestampcomposer, rootTag, typeDefinitions, typeTags, yamlClassConstructors, yamlConstructors, yamlMultiConstructorsundefinedConstructor| Constructor | Description |
|---|---|
CompactConstructor() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
applySequence(Object bean,
List<?> value) |
|
protected Object |
constructCompactFormat(ScalarNode node,
CompactData data) |
|
protected Construct |
createCompactConstruct() |
|
protected Object |
createInstance(ScalarNode node,
CompactData data) |
|
CompactData |
getCompactData(String scalar) |
|
protected Construct |
getConstructor(Node node) |
Get the constructor to construct the Node.
|
protected String |
getSequencePropertyName(Class<?> bean) |
Provide the name of the property which is used when the entries form a
sequence.
|
protected void |
setProperties(Object bean,
Map<String,Object> data) |
addTypeDescription, checkData, constructArray, constructArrayStep2, constructDocument, constructMapping, constructObject, constructObjectNoCheck, constructScalar, constructSequence, constructSequenceStep2, constructSet, constructSet, createArray, createDefaultList, createDefaultMap, createDefaultSet, finalizeConstruction, getData, getPropertyUtils, getSingleData, isAllowDuplicateKeys, isExplicitPropertyUtils, newInstance, newInstance, newInstance, newList, newMap, newSet, setAllowDuplicateKeys, setComposer, setPropertyUtilsgetClassForName, getClassForNodeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconstructMapping2ndStep, constructSet2ndStep, flattenMapping, processDuplicateKeysprotected Object constructCompactFormat(ScalarNode node, CompactData data)
protected Object createInstance(ScalarNode node, CompactData data) throws Exception
Exceptionprotected void setProperties(Object bean, Map<String,Object> data) throws Exception
Exceptionpublic CompactData getCompactData(String scalar)
protected Construct createCompactConstruct()
protected Construct getConstructor(Node node)
BaseConstructorgetConstructor in class BaseConstructornode - Node to construct an instance fromConstruct implementation for the specified nodeCopyright © 2008–2018. All rights reserved.