Top Description Fields Constructors Methods
com.sun.tools.xjc.reader.xmlschema.bindinfo

public final Class BIClass

extends AbstractDeclarationImpl
Class Inheritance
Annotations
@XmlRootElement
name:class
Imports
jakarta.xml.bind.annotation.XmlAttribute, .XmlElement, .XmlRootElement, javax.xml.namespace.QName, com.sun.tools.xjc.reader.Const, org.glassfish.jaxb.core.api.impl.NameConverter, com.sun.istack.Nullable

Class declaration. This customization turns arbitrary schema component into a Java content interface.

This customization is acknowledged by the ClassSelector.

Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private String
private String
public static final QName
NAME

Name of this declaration.

private String
private String
private String
Inherited from com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl:
locparent

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

Returns a class name. The caller should NOT apply XML-to-Java name conversion to the name returned from this method.
getClassName
()

Gets the specified class name, or null if not specified.

public String
getExistingClassRef()

Reference to the existing class, or null.

public String
getJavadoc()

Gets the javadoc comment specified in the customization.

public QName
getName()

Implements com.sun.tools.xjc.reader.xmlschema.bindinfo.BIDeclaration.getName.

Gets the name of this binding declaration, which is the same as the tag name of the binding element.

public String
public String
getUserSpecifiedImplClass()

Gets the fully qualified name of the user-specified implementation class, if any.

public void
Inherited from com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl:
getBuildergetChildrengetCodeModelgetLocationgetOwnerisAcknowledgedmarkAsAcknowledgedonSetOwner

Field Detail

classNameback to summary
private String className
Annotations
@XmlAttribute
name:name
javadocback to summary
private String javadoc
Annotations
@XmlElement
NAMEback to summary
public static final QName NAME

Name of this declaration.

recursiveback to summary
private String recursive
Annotations
@XmlAttribute
name:recursive
namespace:http://java.sun.com/xml/ns/jaxb/xjc
refback to summary
private String ref
Annotations
@XmlAttribute
name:ref
userSpecifiedImplClassback to summary
private String userSpecifiedImplClass
Annotations
@XmlAttribute
name:implClass

Constructor Detail

BIClassback to summary
protected BIClass()

Method Detail

getClassNameback to summary
public String getClassName()

Gets the specified class name, or null if not specified. (Not a fully qualified name.)

Returns:String

Returns a class name. The caller should NOT apply XML-to-Java name conversion to the name returned from this method.

Annotations
@Nullable
getExistingClassRefback to summary
public String getExistingClassRef()

Reference to the existing class, or null. Fully qualified name.

Caller needs to perform error check on this.

getJavadocback to summary
public String getJavadoc()

Gets the javadoc comment specified in the customization. Can be null if none is specified.

getNameback to summary
public QName getName()

Implements com.sun.tools.xjc.reader.xmlschema.bindinfo.BIDeclaration.getName.

Doc from com.sun.tools.xjc.reader.xmlschema.bindinfo.BIDeclaration.getName.

Gets the name of this binding declaration, which is the same as the tag name of the binding element.

Annotations
@Override
getRecursiveback to summary
public String getRecursive()
getUserSpecifiedImplClassback to summary
public String getUserSpecifiedImplClass()

Gets the fully qualified name of the user-specified implementation class, if any. Or null.

setParentback to summary
public void setParent(BindInfo p)

Overrides com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl.setParent.

Implements com.sun.tools.xjc.reader.xmlschema.bindinfo.BIDeclaration.setParent.

Doc from com.sun.tools.xjc.reader.xmlschema.bindinfo.BIDeclaration.setParent.

Sets the parent BindInfo object of this declaration. A declaration object can use this pointer to access context information, such as other customizations.

This method can be only called from BindInfo, and only once. This is a good opportunity to do some follow-up initialization after JAXB unmarshalling populated .

Annotations
@Override