Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.property

public abstract Class PropertyFactory

extends Object
Class Inheritance
Imports
org.glassfish.jaxb.core.v2.model.core.ClassInfo, .ID, .PropertyKind, org.glassfish.jaxb.runtime.v2.model.runtime.*, org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl, java.util.Arrays, .Collection, .Collections, .List, java.util.function.BiFunction

Create Property objects.
Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private static final List<BiFunction<JAXBContextImpl, RuntimePropertyInfo, ? extends Property<BeanT>>>
propImpls

Constructors of the Property implementation.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Property<BeanT>
create(JAXBContextImpl grammar, RuntimePropertyInfo info)

Creates/obtains a properly configured Property object from the given description.

pack-priv static boolean
isLeaf(RuntimePropertyInfo info)

Look for the case that can be optimized as a leaf, which is a kind of type whose XML representation is just PCDATA.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

propImplsback to summary
private static final List<BiFunction<JAXBContextImpl, RuntimePropertyInfo, ? extends Property<BeanT>>> propImpls

Constructors of the Property implementation.

Constructor Detail

PropertyFactoryback to summary
private PropertyFactory()

Method Detail

createback to summary
public static Property<BeanT> create(JAXBContextImpl grammar, RuntimePropertyInfo info)

Creates/obtains a properly configured Property object from the given description.

isLeafback to summary
pack-priv static boolean isLeaf(RuntimePropertyInfo info)

Look for the case that can be optimized as a leaf, which is a kind of type whose XML representation is just PCDATA.