public class DefaultNElements extends Object implements NElements
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNElements() |
| Modifier and Type | Method and Description |
|---|---|
NElementType |
commonNumberType(NElementType aa,
NElementType bb) |
NElementPath |
compilePath(String pathExpression) |
<T> T |
convert(Object any,
Class<T> to) |
Object |
destruct(Object any) |
NElements |
doWithMapperStore(Consumer<NElementMapperStore> doWith) |
Object |
elementToObject(NElement o,
Type type) |
<T> T |
fromElement(NElement o,
Class<T> to) |
int |
getScore(NScorableContext context) |
boolean |
isNtf() |
NElementMapperStore |
mapperStore() |
NElement |
normalize(NElement e,
NContentType contentType) |
NElement |
normalizeJson(NElement e) |
NElement |
normalizeTson(NElement e) |
NElement |
normalizeXml(NElement e) |
NElement |
normalizeYaml(NElement e) |
NElements |
setNtf(boolean ntf) |
NElement |
toElement(Object o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidScore, query, querypublic boolean isNtf()
public NElementPath compilePath(String pathExpression)
compilePath in interface NElementspublic <T> T fromElement(NElement o, Class<T> to)
fromElement in interface NElementspublic NElementMapperStore mapperStore()
mapperStore in interface NElementspublic NElements doWithMapperStore(Consumer<NElementMapperStore> doWith)
doWithMapperStore in interface NElementspublic NElement normalizeJson(NElement e)
normalizeJson in interface NElementspublic NElement normalizeTson(NElement e)
normalizeTson in interface NElementspublic NElement normalizeYaml(NElement e)
normalizeYaml in interface NElementspublic NElement normalizeXml(NElement e)
normalizeXml in interface NElementspublic NElement normalize(NElement e, NContentType contentType)
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablepublic NElementType commonNumberType(NElementType aa, NElementType bb)
commonNumberType in interface NElementsCopyright © 2025 vpc open source initiative. All rights reserved.