org.netbeans.modules.bpel.model.impl
Class ExpressionImpl

java.lang.Object
  extended by org.netbeans.modules.xml.xam.AbstractComponent<C>
      extended by org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent<BpelEntity>
          extended by org.netbeans.modules.bpel.model.impl.BpelEntityImpl
              extended by org.netbeans.modules.bpel.model.impl.ExpressionImpl
All Implemented Interfaces:
BpelEntity, ContentElement, Expression, ExpressionLanguageSpec, Component<BpelEntity>, DocumentComponent<BpelEntity>, DocumentModelAccess.NodeUpdater
Direct Known Subclasses:
BooleanExprImpl, BranchesImpl, ConditionImpl, DeadlineExpressionImpl, FinalCounterValueImpl, ForImpl, RepeatEveryImpl, StartCounterValueImpl

public abstract class ExpressionImpl
extends BpelEntityImpl
implements Expression

Author:
ads

Nested Class Summary
 
Nested classes/interfaces inherited from class org.netbeans.modules.bpel.model.impl.BpelEntityImpl
BpelEntityImpl.IdMapKey
 
Nested classes/interfaces inherited from class org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent
AbstractDocumentComponent.PrefixAttribute
 
Field Summary
 
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
 
Fields inherited from interface org.netbeans.modules.bpel.model.api.ExpressionLanguageSpec
EXPRESSION_LANGUAGE
 
Constructor Summary
ExpressionImpl(BpelBuilderImpl builder, java.lang.String tagName)
           
ExpressionImpl(BpelModelImpl model, org.w3c.dom.Element e)
           
 
Method Summary
 java.lang.String getContent()
           
protected  Attribute[] getDomainAttributes()
          This method should be implemented by any real class.
 java.lang.String getExpressionLanguage()
          Gets the value of the expressionLanguage property.
 void removeExpressionLanguage()
          Removes expressionLanguage attribute.
 void setContent(java.lang.String content)
          Set the content to a text node with the given string value.
 void setExpressionLanguage(java.lang.String value)
          Sets the value of the expressionLanguage property.
 
Methods inherited from class org.netbeans.modules.bpel.model.impl.BpelEntityImpl
accept, acceptChildren, canPaste, checkDeleted, checkInTree, copy, copy, createReference, createSchemaReference, createWSDLReference, cut, getAttribute, getAttributeAccess, getAttributeValueOf, getBooleanAttribute, getBpelModel, getBpelReference, getBpelReferenceList, getCookie, getCookies, getCorrectedText, getEntityName, getModel, getNamespaceContext, getParent, getQNameAttribute, getSchemaReference, getSchemaReferenceList, getText, getUID, getWSDLReference, getWSDLReferenceList, handleAttributeChange, isDeleted, isInTree, populateChildren, postGlobalEvent, postGlobalEvent, readLock, readUnlock, removeAttribute, removeCookie, removeReference, setAttribute, setBpelAttribute, setBpelAttribute, setBpelAttribute, setBpelReference, setBpelReferenceList, setCookie, setCookies, setDeleted, setInTree, setInTreeRecursively, setSchemaReference, setText, setText, setUID, setWSDLReference, setWSDLReferenceList, updateReference, writeLock, writeUnlock
 
Methods inherited from class org.netbeans.modules.xml.xam.dom.AbstractDocumentComponent
addPrefix, appendChildQuietly, createPrefixAttribute, ensureUnique, ensureValueNamespaceDeclared, findAttributePosition, findChildComponent, findChildComponentByIdentity, findDomainIndex, findPosition, fireChildAdded, fireChildRemoved, firePropertyChange, fireValueChanged, getAccess, getAnyAttribute, getAttributeMap, getChildElement, getChildElementText, getEffectiveParent, getLeadingText, getNamespaceURI, getNodeIndexOf, getPeer, getPrefixedName, getPrefixedName, getPrefixedName, getPrefixes, getQName, getQName, getText, getText, getTrailingText, getXmlFragment, getXmlFragmentInclusive, insertAtIndexQuietly, isInDocumentModel, lookupNamespaceURI, lookupNamespaceURI, lookupPrefix, referencesSameNode, removeAttributeQuietly, removeChildQuietly, removePrefix, resolveModel, setAnyAttribute, setAttributeQuietly, setChildElementText, setLeadingText, setQNameAttribute, setText, setTrailingText, setXmlFragment, updatePeer, updateReference, updateReference, updateReference, verifyWrite
 
Methods inherited from class org.netbeans.modules.xml.xam.AbstractComponent
addAfter, addBefore, addPropertyChangeListener, appendChild, checkNullOrDuplicateChild, getChild, getChildren, getChildren, getChildren, insertAtIndex, insertAtIndex, isChildrenInitialized, removeChild, removeComponentListener, removePropertyChangeListener, setChild, setChild, setChildAfter, setChildBefore, setModel, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

ExpressionImpl

ExpressionImpl(BpelModelImpl model,
               org.w3c.dom.Element e)

ExpressionImpl

ExpressionImpl(BpelBuilderImpl builder,
               java.lang.String tagName)
Method Detail

getContent

public java.lang.String getContent()
Specified by:
getContent in interface ContentElement
Returns:
text representation of the element content.

setContent

public void setContent(java.lang.String content)
                throws VetoException
Description copied from interface: ContentElement
Set the content to a text node with the given string value.

Specified by:
setContent in interface ContentElement
Parameters:
content - New text value.
Throws:
VetoException - VetoException will be thrown if content is not acceptable here.

getExpressionLanguage

public java.lang.String getExpressionLanguage()
Description copied from interface: ExpressionLanguageSpec
Gets the value of the expressionLanguage property.

Specified by:
getExpressionLanguage in interface ExpressionLanguageSpec
Returns:
possible object is String

setExpressionLanguage

public void setExpressionLanguage(java.lang.String value)
                           throws VetoException
Description copied from interface: ExpressionLanguageSpec
Sets the value of the expressionLanguage property.

Specified by:
setExpressionLanguage in interface ExpressionLanguageSpec
Parameters:
value - allowed object is String
Throws:
VetoException - VetoException will be thrown if value if not acceptable as expressionLanguage attribute here.

removeExpressionLanguage

public void removeExpressionLanguage()
Description copied from interface: ExpressionLanguageSpec
Removes expressionLanguage attribute.

Specified by:
removeExpressionLanguage in interface ExpressionLanguageSpec

getDomainAttributes

protected Attribute[] getDomainAttributes()
Description copied from class: BpelEntityImpl
This method should be implemented by any real class. It returns list of possible attributes for entity. It used in firing event about attribute change while synchronizing with source.

Specified by:
getDomainAttributes in class BpelEntityImpl