public interface Documentation extends WSDLComponent
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_PROPERTY |
DOCUMENTATION_PROPERTY, EXTENSIBILITY_ELEMENT_PROPERTY
TEXT_CONTENT_PROPERTY
Modifier and Type | Method and Description |
---|---|
String |
getAnyAttribute(QName attr)
Returns string value of the attribute from different namespace.
|
String |
getContentFragment() |
Element |
getDocumentationElement() |
String |
getTextContent() |
void |
setAnyAttribute(QName attr,
String value)
Set string value of the attribute identified by given QName.
|
void |
setContentFragment(String text)
Sets the XML fragment text of documentation element content.
|
void |
setDocumentationElement(Element documentationElement)
Sets the documentation element to the given element.
|
void |
setTextContent(String content)
Set the documentation element content to a text node with the given
string value.
|
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_PROPERTY
String getTextContent()
void setTextContent(String content)
String getContentFragment()
void setContentFragment(String text) throws IOException
text
- XML fragment text.IOException
- if the fragment text is not well-form.Element getDocumentationElement()
void setDocumentationElement(Element documentationElement)
String getAnyAttribute(QName attr)
attr
- non-null QName represents the attribute name.