public interface ExtensibilityElement extends WSDLComponent
Modifier and Type | Interface and Description |
---|---|
static interface |
ExtensibilityElement.EmbeddedModel
Interface for an extensibility element that is a root of an embedded model.
|
static interface |
ExtensibilityElement.ParentSelector
An extensibility element with ability to select parent to be added to.
|
static interface |
ExtensibilityElement.UpdaterProvider
Interface for an extensibility element that could provide update visitor
to be used during sync from source.
|
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_FRAGMENT_PROPERTY |
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
TEXT_CONTENT_PROPERTY
Modifier and Type | Method and Description |
---|---|
void |
addAnyElement(ExtensibilityElement anyElement,
int index)
Adds child extensibility elements of unknown type.
|
String |
getAnyAttribute(QName attr)
Set/get attribute defined in given namespace.
|
List<ExtensibilityElement> |
getAnyElements() |
String |
getAttribute(String attribute)
Set/get attribute value.
|
String |
getContentFragment()
Set/get content as XML fragment.
|
QName |
getQName()
Returns QName of the backing DOM element.
|
void |
removeAnyElement(ExtensibilityElement any)
Removes child extensibility element of unknown type.
|
void |
setAnyAttribute(QName attr,
String value) |
void |
setAttribute(String attribute,
String value) |
void |
setContentFragment(String fragment) |
accept, addExtensibilityElement, createReferenceTo, createSchemaReference, getAttributeMap, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, removeExtensibilityElement, setDocumentation
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
canPaste, copy, getChildren, getChildren, getChildren, getParent
static final String CONTENT_FRAGMENT_PROPERTY
String getContentFragment()
text
- XML fragment text.IOException
- if the fragment text is not well-form.void setContentFragment(String fragment) throws IOException
IOException
void addAnyElement(ExtensibilityElement anyElement, int index)
anyElement
- any child component to addindex
- absolute index position in children list.void removeAnyElement(ExtensibilityElement any)
List<ExtensibilityElement> getAnyElements()
QName getQName()