Top Description Fields Constructors Methods
com.sun.tools.xjc.model

public Class Constructor

extends Object
Class Inheritance

Constructor declaration.

a constructor declaration consists of a set of fields to be initialized. For example, if a class is defined as:

Class: Foo
  Field: String a
  Field: int b
  Field: BigInteger c
Then a constructor declaration of {"a","c"} will conceptually generate the following consturctor:
Foo( String _a, BigInteger _c ) {
  a=_a; c=_c;
}
(Only conceptually, because Foo will likely to become an interface so we can't simply generate a constructor like this.)
Author
Kohsuke KAWAGUCHI

Field Summary

Modifier and TypeField and Description
public final String[]
fields

array of field names to be initialized.

Constructor Summary

AccessConstructor and Description
public
Constructor(String[] _fields)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

fieldsback to summary
public final String[] fields

array of field names to be initialized.

Constructor Detail

Constructorback to summary
public Constructor(String[] _fields)