org.netbeans.modules.bpel.model.api
Interface Documentation

All Superinterfaces:
BpelContainer, BpelEntity, Component<BpelEntity>, ContentElement, DocumentComponent<BpelEntity>
All Known Implementing Classes:
DocumentationImpl

public interface Documentation
extends BpelContainer, ContentElement

Author:
ads

Java class for documentation element declaration.

The following schema fragment specifies the expected content contained within this class.

   <xsd:element name="documentation" type="tDocumentation"/>
   <xsd:complexType name="tDocumentation" mixed="true">
       <xsd:sequence>
           <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
       </xsd:sequence>
       <xsd:attribute name="source" type="xsd:anyURI"/>
       <xsd:attribute ref="xml:lang"/>
   </xsd:complexType>
 

Field Summary
static java.lang.String LANGUAGE
           
static java.lang.String SOURCE
           
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
BUSINESS_PROCESS_1_1_NS_URI, BUSINESS_PROCESS_DRAFT_NS_URI, BUSINESS_PROCESS_NS_URI
 
Fields inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
TEXT_CONTENT_PROPERTY
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.ContentElement
CONTENT_PROPERTY
 
Method Summary
 java.lang.String getLanguage()
           
 java.lang.String getSource()
           
 void removeLanguage()
          Removes "xml:lang" attribute.
 void removeSource()
          Removes source attribute.
 void setLanguage(java.lang.String lang)
          Set "xml:lang" attribute value to lang.
 void setSource(java.lang.String uri)
          Set source attribute value to uri.
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelContainer
indexOf, remove
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.BpelEntity
accept, accept, copy, cut, getBpelModel, getCookie, getElementType, getNamespaceContext, getParent, getUID, removeCookie, setCookie
 
Methods inherited from interface org.netbeans.modules.xml.xam.dom.DocumentComponent
findAttributePosition, findChildComponent, findPosition, getAttribute, getPeer, isInDocumentModel, referencesSameNode, setAttribute
 
Methods inherited from interface org.netbeans.modules.xml.xam.Component
canPaste, copy, getChildren, getChildren, getChildren, getModel
 
Methods inherited from interface org.netbeans.modules.bpel.model.api.ContentElement
getContent, setContent
 

Field Detail

SOURCE

static final java.lang.String SOURCE
See Also:
Constant Field Values

LANGUAGE

static final java.lang.String LANGUAGE
See Also:
Constant Field Values
Method Detail

getSource

java.lang.String getSource()
Returns:
"source" attribute value.

setSource

void setSource(java.lang.String uri)
               throws VetoException
Set source attribute value to uri.

Parameters:
uri - New "source" attribute value.
Throws:
VetoException - Will be thrown if uri is not acceptable as value here.

removeSource

void removeSource()
Removes source attribute.


getLanguage

java.lang.String getLanguage()
Returns:
"xml:lang" attribute value.

setLanguage

void setLanguage(java.lang.String lang)
                 throws VetoException
Set "xml:lang" attribute value to lang.

Parameters:
lang - New language value.
Throws:
VetoException - ( @link VetoException ) will be thrown if new value is not acceptable here.

removeLanguage

void removeLanguage()
Removes "xml:lang" attribute.