public class Label extends TextContainer implements StructuralElement
| Modifier and Type | Field and Description |
|---|---|
static String |
E_LABEL
The name of the label element
|
contextA_ID, A_NAME, A_RENDER| Modifier | Constructor and Description |
|---|---|
protected |
Label(WingContext context,
String name,
String rend)
Construct a new label.
|
| Modifier and Type | Method and Description |
|---|---|
void |
toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
Translate this element and all contained elements into SAX events.
|
addContent, addContent, addContentendElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElementpublic static final String E_LABEL
protected Label(WingContext context, String name, String rend) throws WingException
context - (Required) The context this element is contained inname - (May be null) The label's namerend - (May be null) a rendering hint used to override the default
display of the element.WingExceptionpublic void toSAX(ContentHandler contentHandler, LexicalHandler lexicalHandler, NamespaceSupport namespaces) throws 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.SAXExceptionCopyright © 2014 DuraSpace. All Rights Reserved.