Class BindInfo
- java.lang.Object
-
- com.sun.tools.xjc.reader.dtd.bindinfo.BindInfo
-
public class BindInfo extends java.lang.ObjectRoot 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, org.w3c.dom.Document _dom, ErrorReceiver _errorReceiver)BindInfo(Model model, org.xml.sax.InputSource source, ErrorReceiver _errorReceiver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BIConversionconversion(java.lang.String name)Gets the conversion declaration from the binding info.BIElementelement(java.lang.String name)Gets the element declaration from the binding info.java.util.Collection<BIElement>elements()Iterates allBIElements in a read-only set.java.lang.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).java.util.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, org.xml.sax.InputSource source, ErrorReceiver _errorReceiver) throws AbortException
- Throws:
AbortException
-
BindInfo
public BindInfo(Model model, org.w3c.dom.Document _dom, ErrorReceiver _errorReceiver)
-
-
Method Detail
-
getSerialVersionUID
public java.lang.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(java.lang.String name)
Gets the conversion declaration from the binding info.- Returns:
- A non-null valid BIConversion object.
-
element
public BIElement element(java.lang.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 java.util.Collection<BIElement> elements()
Iterates allBIElements in a read-only set.
-
interfaces
public java.util.Collection<BIInterface> interfaces()
Returns allBIInterfaces in a read-only set.
-
-