@FunctionalInterface
protected static interface GenericRecordXmlWriter.GenericRecordHandler
Modifier and Type | Method and Description |
---|---|
boolean |
print(GenericRecordXmlWriter record, java.lang.String name, java.lang.Object object)
Handler method
(处理程序方法)
|
boolean print(GenericRecordXmlWriter record, java.lang.String name, java.lang.Object object)
record
- the parent record, applied via instance method reference
(record - 父记录,通过实例方法引用应用)
name
- the name of the property
(name - 属性的名称)
object
- the value of the property
(object - 属性的值)
true
, if the element was handled and output produced, The provided methods can be overridden and a implementation can return
false
, if the element hasn't been written to the stream
(true,如果元素被处理并产生输出,提供的方法可以被覆盖并且实现可以返回 false,如果元素还没有被写入流)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.