Class BIConstructor

java.lang.Object
com.sun.tools.xjc.reader.dtd.bindinfo.BIConstructor

public class BIConstructor extends Object
<constructor> declaration in the binding file.

Since JAXB will generate both interfaces and implementations, A constructor declaration will create:

  • a method declaration in the factory interface
  • a method implementation in the factory implementation class
  • a constructor implementation in the actual implementation class
  • Method Details

    • createDeclaration

      public void createDeclaration(CClassInfo cls)
      Creates a constructor declaration into the ClassItem.
      Parameters:
      cls - ClassItem object that corresponds to the element declaration that contains this declaration.
    • getSourceLocation

      public Locator getSourceLocation()
      Gets the location where this declaration is declared.