Because of the setParent method, one customization declaration can be attached to one component alone.
| Modifier and Type | Method and Description |
|---|---|
| public Collection | |
| public Locator | |
| public QName | getName()
Gets the name of this binding declaration, which is the same as the tag name of the binding element. |
| public boolean | |
| public void | markAsAcknowledged()
Marks this declaration to be acknowledged -- either actually used or the existence is admitted (for example when a property customization is given at the point of definition.) Declarations that are not acknowledged will be considered as an error. |
| public void | |
| public void |
| getChildren | back to summary |
|---|---|
| public Collection Gets child s if any.
| |
| getLocation | back to summary |
|---|---|
| public Locator getLocation() Gets the source location where this declaration was written. For declarations that are generated by XJC itself, this method returns null. | |
| getName | back to summary |
|---|---|
| public QName getName() Gets the name of this binding declaration, which is the same as the tag name of the binding element. | |
| isAcknowledged | back to summary |
|---|---|
| public boolean isAcknowledged() Checks if this declaration was acknowledged. | |
| markAsAcknowledged | back to summary |
|---|---|
| public void markAsAcknowledged() Marks this declaration to be acknowledged -- either actually used or the existence is admitted (for example when a property customization is given at the point of definition.) Declarations that are not acknowledged will be considered as an error. | |
| onSetOwner | back to summary |
|---|---|
| public void onSetOwner() Called when the parent | |
| setParent | back to summary |
|---|---|
| public void setParent(BindInfo parent) Sets the parent BindInfo object of this declaration. A declaration object can use this pointer to access context information, such as other customizations.
This method can be only called from | |