public class Trail extends TextContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
A_RENDER
The name of the render attribute
|
static String |
A_TARGET
The name of the target attribute
|
static String |
E_TRAIL
The name of the trail element
|
context| Modifier | Constructor and Description |
|---|---|
protected |
Trail(WingContext context,
String target,
String rend)
Construct a new trail
|
| Modifier and Type | Method and Description |
|---|---|
void |
toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
Translate into SAX events.
|
addContent, addContent, addContentendElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElementpublic static final String E_TRAIL
public static final String A_TARGET
public static final String A_RENDER
protected Trail(WingContext context, String target, String rend) throws WingException
target - (May be null) The trail's targetrend - (May be null) Special rendering instructions.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.