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

All Known Subinterfaces:
BooleanExpr, Branches, Condition, DeadlineExpression, Documentation, DurationExpression, Expression, FinalCounterValue, For, From, Literal, Query, RepeatEvery, StartCounterValue, To
All Known Implementing Classes:
BooleanExprImpl, BranchesImpl, ConditionImpl, DeadlineExpressionImpl, DocumentationImpl, ExpressionImpl, FinalCounterValueImpl, ForImpl, FromImpl, LiteralImpl, QueryImpl, RepeatEveryImpl, StartCounterValueImpl, ToFromIntersectImpl, ToImpl

public interface ContentElement

Author:
ads

Field Summary
static java.lang.String CONTENT_PROPERTY
          This is not attribute name.
 
Method Summary
 java.lang.String getContent()
           
 void setContent(java.lang.String content)
          Set the content to a text node with the given string value.
 

Field Detail

CONTENT_PROPERTY

static final java.lang.String CONTENT_PROPERTY
This is not attribute name. This is identifier for text in mixed entity. No attribute can have such name so TEXT will be identified by this property.

See Also:
Constant Field Values
Method Detail

getContent

java.lang.String getContent()
Returns:
text representation of the element content.

setContent

void setContent(java.lang.String content)
                throws VetoException
Set the content to a text node with the given string value.

Parameters:
content - New text value.
Throws:
VetoException - VetoException will be thrown if content is not acceptable here.