public class Xref extends TextContainer implements StructuralElement
| Modifier and Type | Field and Description |
|---|---|
static String |
A_TARGET
The name of the target attribute
|
static String |
E_XREF
The name of the xref element
|
contextA_ID, A_NAME, A_RENDER| Modifier | Constructor and Description |
|---|---|
protected |
Xref(WingContext context,
String target)
Construct a new xref link.
|
protected |
Xref(WingContext context,
String target,
String rend)
Construct a new xref link.
|
protected |
Xref(WingContext context,
String target,
String rend,
String name)
Construct a new xref link.
|
| 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_XREF
public static final String A_TARGET
protected Xref(WingContext context, String target, String rend, String name) throws WingException
context - (Required) The context this element is contained intarget - (Required) A target URL for the references a destination for
the xref.rend - (May be null) A special rendering instruction for this xref.name - (May be null) a local identifier used to differentiate the
element from its siblings.WingExceptionprotected Xref(WingContext context, String target, String rend) throws WingException
context - (Required) The context this element is contained intarget - (Required) A target URL for the references a destination for
the xref.rend - (May be null) A special rendering instruction for this xref.WingExceptionprotected Xref(WingContext context, String target) throws WingException
context - (Required) The context this element is contained intarget - (Required) A target URL for the references a destination for
the xref.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 © 2015 DuraSpace. All Rights Reserved.