com.sun.tools.xjc.reader.dtd.bindinfo
Class BIUserConversion

java.lang.Object
  extended by com.sun.tools.xjc.reader.dtd.bindinfo.BIUserConversion
All Implemented Interfaces:
BIConversion

public class BIUserConversion
extends Object
implements BIConversion

<conversion> declaration in the binding file. This declaration declares a conversion by user-specified methods.


Constructor Summary
BIUserConversion(BindInfo bi, Element _e)
          Wraps a given <conversion> element in the binding file.
 
Method Summary
(package private) static void addBuiltinConversions(BindInfo bi, Map<String,BIConversion> m)
          Adds all built-in conversions into the given map.
 Locator getSourceLocation()
          Gets the location where this declaration is declared.
 TypeUse getTransducer()
          Gets a transducer for this conversion.
 String name()
          Gets the conversion name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BIUserConversion

BIUserConversion(BindInfo bi,
                 Element _e)
Wraps a given <conversion> element in the binding file.

Method Detail

addBuiltinConversions

static void addBuiltinConversions(BindInfo bi,
                                  Map<String,BIConversion> m)
Adds all built-in conversions into the given map.


getSourceLocation

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


name

public String name()
Gets the conversion name.

Specified by:
name in interface BIConversion

getTransducer

public TypeUse getTransducer()
Gets a transducer for this conversion.

Specified by:
getTransducer in interface BIConversion