public class Highlight extends RichTextContainer implements StructuralElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
E_HIGHLIGHT
The name of the highlight element
|
contextA_ID, A_NAME, A_RENDER| Modifier | Constructor and Description |
|---|---|
protected |
Highlight(WingContext context,
java.lang.String rend)
Construct a new highlight element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
toSAX(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
org.xml.sax.helpers.NamespaceSupport namespaces)
Translate this element and all contained elements into SAX events.
|
addButton, addButton, addCheckBox, addCheckBox, addComposite, addComposite, addFigure, addFigure, addFile, addFile, addHidden, addHidden, addHighlight, addPassword, addPassword, addRadio, addRadio, addSelect, addSelect, addText, addText, addTextArea, addTextArea, addXref, addXref, addXref, addXref, addXref, addXref, addXrefaddContent, addContent, addContentendElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElementpublic static final java.lang.String E_HIGHLIGHT
protected Highlight(WingContext context, java.lang.String rend) throws WingException
context - (Required) The context this element is contained in.rend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic void toSAX(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ext.LexicalHandler lexicalHandler,
org.xml.sax.helpers.NamespaceSupport namespaces)
throws org.xml.sax.SAXException
toSAX in interface WingElementtoSAX in class ContainercontentHandler - (Required) The registered contentHandler where SAX events
should be routed too.lexicalHandler - (Required) The registered lexicalHandler where lexical
events (such as CDATA, DTD, etc) should be routed too.namespaces - (Required) SAX Helper class to keep track of namespaces able
to determine the correct prefix for a given namespace URI.org.xml.sax.SAXExceptionCopyright © 2014 DuraSpace. All Rights Reserved.