com.sun.tools.xjc.reader.xmlschema.bindinfo
Class BIConversion.Static

java.lang.Object
  extended by com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
      extended by com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion
          extended by com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion.Static
All Implemented Interfaces:
BIDeclaration
Enclosing class:
BIConversion

public static final class BIConversion.Static
extends BIConversion

Implementation that returns a statically-determined constant TypeUse.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion
BIConversion.Static, BIConversion.User, BIConversion.UserAdapter
 
Field Summary
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion
NAME
 
Fields inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
loc, parent
 
Constructor Summary
BIConversion.Static(Locator loc, TypeUse transducer)
           
 
Method Summary
 TypeUse getTypeUse(XSSimpleType owner)
          Gets the TypeUse object that this conversion represents.
 
Methods inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.BIConversion
getName
 
Methods inherited from class com.sun.tools.xjc.reader.xmlschema.bindinfo.AbstractDeclarationImpl
getBuilder, getChildren, getCodeModel, getLocation, getOwner, isAcknowledged, markAsAcknowledged, onSetOwner, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BIConversion.Static

public BIConversion.Static(Locator loc,
                           TypeUse transducer)
Method Detail

getTypeUse

public TypeUse getTypeUse(XSSimpleType owner)
Description copied from class: BIConversion
Gets the TypeUse object that this conversion represents.

The returned TypeUse object is properly adapted.

Specified by:
getTypeUse in class BIConversion
Parameters:
owner - A BIConversion is always associated with one XSSimpleType, but that's not always available when a BIConversion is built. So we pass this as a parameter to this method.