public final class BIElement
extends java.lang.Object
<element> declaration in the binding file.| Modifier and Type | Field | Description |
|---|---|---|
CClassInfo |
clazz |
The bean representation for this element.
|
| Modifier and Type | Method | Description |
|---|---|---|
BIAttribute |
attribute(java.lang.String name) |
Gets the attribute-property declaration, if any.
|
BIConversion |
conversion(java.lang.String name) |
Resolves the conversion name to the conversion declaration.
|
void |
declareConstructors(CClassInfo src) |
Creates constructor declarations for this element.
|
java.lang.String |
getClassName() |
Gets the JClass object that represents this declaration.
|
java.util.List<BIContent> |
getContents() |
Iterates all content-property declarations (except 'rest').
|
BIConversion |
getConversion() |
Gets the conversion method for this element.
|
org.xml.sax.Locator |
getLocation() |
Gets the source location where this element is declared.
|
BIContent |
getRest() |
Gets the 'rest' content-property declaration, if any.
|
org.xml.sax.Locator |
getSourceLocation() |
Gets the location where this declaration is declared.
|
boolean |
isClass() |
Checks if the element type is "class".
|
boolean |
isRoot() |
Checks if this element is designated as a root element.
|
java.lang.String |
name() |
Gets the element name.
|
public final CClassInfo clazz
public org.xml.sax.Locator getLocation()
public java.lang.String name()
public boolean isClass()
public boolean isRoot()
public java.lang.String getClassName()
This method returns null if this declaration is an element-property declaration.
public void declareConstructors(CClassInfo src)
This method should only be called by DTDReader after the normalization has completed.
src - The ClassItem object that corresponds to this declarationpublic BIConversion getConversion()
This method can be called only when this element declaration is designated as element-value.
public BIConversion conversion(java.lang.String name)
Element-local declarations are checked first.
public java.util.List<BIContent> getContents()
public BIAttribute attribute(java.lang.String name)
public BIContent getRest()
public org.xml.sax.Locator getSourceLocation()
Copyright © 2018 Oracle Corporation. All rights reserved.