|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.app.xmlui.wing.element.AbstractWingElement
org.dspace.app.xmlui.wing.element.Container
org.dspace.app.xmlui.wing.element.TextContainer
org.dspace.app.xmlui.wing.element.Figure
public class Figure
This class represents a figure element used to embed a reference to an image or graphic element. Any text within the element will be used as an alternative descriptor or a caption.
| Field Summary | |
|---|---|
static String |
A_RENDER
The name of the class attribute |
static String |
A_SOURCE
The name of the source attribute |
static String |
A_TARGET
The name of the target attribute |
static String |
A_TITLE
The name of the title attribute |
static String |
E_FIGURE
The name of the figure element |
| Fields inherited from class org.dspace.app.xmlui.wing.element.Container |
|---|
contents |
| Fields inherited from class org.dspace.app.xmlui.wing.element.AbstractWingElement |
|---|
context |
| Fields inherited from interface org.dspace.app.xmlui.wing.element.StructuralElement |
|---|
A_ID, A_NAME |
| Constructor Summary | |
|---|---|
protected |
Figure(WingContext context,
String source,
String target,
String rend)
Construct a new figure. |
protected |
Figure(WingContext context,
String source,
String target,
String title,
String rend)
|
| Method Summary | |
|---|---|
void |
toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
Translate this element and all contained elements into SAX events. |
| Methods inherited from class org.dspace.app.xmlui.wing.element.TextContainer |
|---|
addContent, addContent, addContent |
| Methods inherited from class org.dspace.app.xmlui.wing.element.Container |
|---|
dispose |
| Methods inherited from class org.dspace.app.xmlui.wing.element.AbstractWingElement |
|---|
endElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String E_FIGURE
public static final String A_SOURCE
public static final String A_TARGET
public static final String A_TITLE
public static final String A_RENDER
| Constructor Detail |
|---|
protected Figure(WingContext context,
String source,
String target,
String rend)
throws WingException
context - (Required) The context this element is contained inSource - (Required) The figure's image source.target - (May be null) The figure's external reference, if present then
the figure is also a link.rend - (May be null) a rendering hint used to override the default
display of the element.
WingException
protected Figure(WingContext context,
String source,
String target,
String title,
String rend)
throws WingException
WingException| Method Detail |
|---|
public 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.
SAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||