public class GenericExtensibilityElement extends WSDLComponentBase implements ExtensibilityElement.ParentSelector
Modifier and Type | Class and Description |
---|---|
static class |
GenericExtensibilityElement.StringAttribute |
AbstractDocumentComponent.PrefixAttribute
ExtensibilityElement.EmbeddedModel, ExtensibilityElement.ParentSelector, ExtensibilityElement.UpdaterProvider
CONTENT_FRAGMENT_PROPERTY
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
TEXT_CONTENT_PROPERTY
Constructor and Description |
---|
GenericExtensibilityElement(WSDLModel model,
Element e)
Creates a new instance of GenericExtensibilityElement
|
GenericExtensibilityElement(WSDLModel model,
QName qname) |
Modifier and Type | Method and Description |
---|---|
void |
accept(WSDLVisitor visitor) |
void |
addAnyElement(ExtensibilityElement anyElement,
int index)
Adds child extensibility elements of unknown type.
|
boolean |
canBeAddedTo(Component target)
Generic extensibility by default can be added to any WSDL component.
|
List<ExtensibilityElement> |
getAnyElements() |
String |
getAttribute(String attribute)
Set/get attribute value.
|
String |
getContentFragment()
Set/get content as XML fragment.
|
void |
removeAnyElement(ExtensibilityElement any)
Removes child extensibility element of unknown type.
|
void |
setAttribute(String attribute,
String value) |
void |
setContentFragment(String text) |
addExtensibilityElement, canPaste, createNewElement, createPrefixedElement, createReferenceTo, createSchemaReference, getAttributeValueOf, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, getWSDLModel, populateChildren, removeExtensibilityElement, resolveGlobalReference, resolveSchemaReference, setDocumentation, toString
addPrefix, appendChildQuietly, copy, createPrefixAttribute, ensureUnique, ensureValueNamespaceDeclared, findAttributePosition, findChildComponent, findChildComponentByIdentity, findDomainIndex, findEndPosition, findPosition, fireChildAdded, fireChildRemoved, firePropertyChange, fireValueChanged, getAccess, getAnyAttribute, getAttribute, getAttributeMap, getChildElement, getChildElementText, getEffectiveParent, getLeadingText, getNamespaceURI, getNodeIndexOf, getPeer, getPrefixedName, getPrefixedName, getPrefixedName, getPrefixes, getQName, getQName, getText, getText, getText, getTrailingText, getXmlFragment, getXmlFragmentInclusive, insertAtIndexQuietly, isInDocumentModel, lookupNamespaceURI, lookupNamespaceURI, lookupPrefix, referencesSameNode, removeAttributeQuietly, removeChildQuietly, removePrefix, resolveModel, setAnyAttribute, setAttribute, setAttributeQuietly, setChildElementText, setLeadingText, setQNameAttribute, setText, setText, setTrailingText, setXmlFragment, updatePeer, updateReference, updateReference, updateReference, verifyWrite
addAfter, addBefore, addPropertyChangeListener, appendChild, checkChildrenPopulated, checkNullOrDuplicateChild, getChild, getChildren, getChildren, getChildren, getChildrenCount, getParent, insertAtIndex, insertAtIndex, isChildrenInitialized, removeChild, removeComponentListener, removePropertyChangeListener, setChild, setChild, setChildAfter, setChildBefore, setModel, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnyAttribute, getQName, setAnyAttribute
addExtensibilityElement, createReferenceTo, createSchemaReference, getAttributeMap, getDocumentation, getExtensibilityElements, getExtensibilityElements, getModel, removeExtensibilityElement, setDocumentation
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
canPaste, copy, getChildren, getChildren, getChildren, getParent
public GenericExtensibilityElement(WSDLModel model, Element e)
public void accept(WSDLVisitor visitor)
accept
in interface WSDLComponent
public String getAttribute(String attribute)
ExtensibilityElement
getAttribute
in interface ExtensibilityElement
public void setAttribute(String attribute, String value)
setAttribute
in interface ExtensibilityElement
public String getContentFragment()
ExtensibilityElement
getContentFragment
in interface ExtensibilityElement
public void setContentFragment(String text) throws IOException
setContentFragment
in interface ExtensibilityElement
IOException
public void addAnyElement(ExtensibilityElement anyElement, int index)
ExtensibilityElement
addAnyElement
in interface ExtensibilityElement
anyElement
- any child component to addindex
- absolute index position in children list.public void removeAnyElement(ExtensibilityElement any)
ExtensibilityElement
removeAnyElement
in interface ExtensibilityElement
public List<ExtensibilityElement> getAnyElements()
getAnyElements
in interface ExtensibilityElement
public boolean canBeAddedTo(Component target)
canBeAddedTo
in interface ExtensibilityElement.ParentSelector