com.sun.xml.bind.v2.runtime.property

Class PropertyFactory

public abstract class PropertyFactory extends Object

Create Property objects.
Method Summary
static Propertycreate(JAXBContextImpl grammar, RuntimePropertyInfo info)
Creates/obtains a properly configured Property object from the given description.
static booleanisLeaf(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.

Method Detail

create

public static Property create(JAXBContextImpl grammar, RuntimePropertyInfo info)
Creates/obtains a properly configured Property object from the given description.

isLeaf

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.