Class BindInfo
- java.lang.Object
-
- com.sun.tools.xjc.reader.dtd.bindinfo.BindInfo
-
public class BindInfo extends Object
Root of the binding information.
-
-
Field Summary
Fields Modifier and Type Field Description protected ErrorReceivererrorReceiverController object that can be used to report errors.
-
Constructor Summary
Constructors Constructor Description BindInfo(Model model, Document _dom, ErrorReceiver _errorReceiver)BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BIConversionconversion(String name)Gets the conversion declaration from the binding info.BIElementelement(String name)Gets the element declaration from the binding info.Collection<BIElement>elements()Iterates allBIElements in a read-only set.LonggetSerialVersionUID()Gets the serialVersionUID if it's turned on.JClassgetSuperClass()Gets the xjc:superClass customization if it's turned on.JClassgetSuperInterface()Gets the xjc:superInterface customization if it's turned on.JPackagegetTargetPackage()Gets the specified package name (options/@package).Collection<BIInterface>interfaces()Returns allBIInterfaces in a read-only set.
-
-
-
Field Detail
-
errorReceiver
protected final ErrorReceiver errorReceiver
Controller object that can be used to report errors.
-
-
Constructor Detail
-
BindInfo
public BindInfo(Model model, InputSource source, ErrorReceiver _errorReceiver) throws AbortException
- Throws:
AbortException
-
BindInfo
public BindInfo(Model model, Document _dom, ErrorReceiver _errorReceiver)
-
-
Method Detail
-
getSerialVersionUID
public Long getSerialVersionUID()
Gets the serialVersionUID if it's turned on.
-
getSuperClass
public JClass getSuperClass()
Gets the xjc:superClass customization if it's turned on.
-
getSuperInterface
public JClass getSuperInterface()
Gets the xjc:superInterface customization if it's turned on.
-
getTargetPackage
public JPackage getTargetPackage()
Gets the specified package name (options/@package).
-
conversion
public BIConversion conversion(String name)
Gets the conversion declaration from the binding info.- Returns:
- A non-null valid BIConversion object.
-
element
public BIElement element(String name)
Gets the element declaration from the binding info.- Returns:
- If there is no declaration with a given name, this method returns null.
-
elements
public Collection<BIElement> elements()
Iterates allBIElements in a read-only set.
-
interfaces
public Collection<BIInterface> interfaces()
Returns allBIInterfaces in a read-only set.
-
-