Top Description Methods
org.glassfish.jaxb.core.v2.model.core

public Interface BuiltinLeafInfo<T, C>

extends LeafInfo<T, C>
Known Direct Subinterfaces
org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeBuiltinLeafInfo
Known Direct Implementers
org.glassfish.jaxb.runtime.v2.model.impl.BuiltinLeafInfoImpl, com.sun.tools.xjc.model.CBuiltinLeafInfo
Imports
javax.xml.namespace.QName

JAXB spec designates a few Java classes to be mapped to leaves in XML.

Built-in leaves also have another priviledge; specifically, they often have more than one XML type names associated with it.

Author
Kohsuke Kawaguchi

Method Summary

Modifier and TypeMethod and Description
public QName

Returns:

never null.
getTypeName
()

Redeclares org.glassfish.jaxb.core.v2.model.core.NonElement.getTypeName.

Gets the primary XML type ANYTYPE_NAME of the class.

Method Detail

getTypeNameback to summary
public QName getTypeName()

Redeclares org.glassfish.jaxb.core.v2.model.core.NonElement.getTypeName.

Doc from org.glassfish.jaxb.core.v2.model.core.NonElement.getTypeName.

Gets the primary XML type ANYTYPE_NAME of the class.

A Java type can be mapped to multiple XML types, but one of them is considered "primary" and used when we generate a schema.

This method returns the 'primary' type name of this built-in leaf, which should be used when values of this type are marshalled.

Returns:QName

never null.

Annotations
@Override