public abstract class TextContainer extends Container
context| Modifier | Constructor and Description |
|---|---|
protected |
TextContainer(WingContext context)
Construct a new text container.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addContent(int integer)
Add integer content to container.
|
void |
addContent(Message message)
Add translated content to container.
|
void |
addContent(String characters)
Add character content to container.
|
endElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElementprotected TextContainer(WingContext context) throws WingException
context - (Required) The context this element is contained in.WingException - passed through.public void addContent(String characters) throws WingException
characters - (Required) Direct content or a dictionary tag to be inserted
into the element.WingException - passed through.public void addContent(int integer)
throws WingException
integer - (Required) Add the integer into the element's container.WingException - passed through.public void addContent(Message message) throws WingException
message - (Required) A key into the i18n catalogue for translation into
the user's preferred language.WingException - passed through.Copyright © 2016 DuraSpace. All rights reserved.