org.dspace.app.xmlui.wing.element
Class Para
java.lang.Object
org.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.RichTextContainer
org.dspace.app.xmlui.wing.element.Para
- All Implemented Interfaces:
- StructuralElement, WingElement
public class Para
- extends RichTextContainer
- implements StructuralElement
|
Field Summary |
static String |
E_PARA
The name of the para element |
| Methods inherited from class org.dspace.app.xmlui.wing.element.RichTextContainer |
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, addXref |
| 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 |
E_PARA
public static final String E_PARA
- The name of the para element
- See Also:
- Constant Field Values
Para
protected Para(WingContext context,
String name,
String rend)
throws WingException
- Construct a new paragraph. Typically names for paragraphs are not
assigned by the java developer instead they are automatically generated
by the parent container. However the only real constraint is that the be
unique among other sibling paragraph elements.
- Parameters:
context - (Required) The context this element is contained in, such as
where to route SAX events and what i18n catalogue to use.name - (May be null) a local identifier used to differentiate the
element from its siblings. *rend - (May be null) a rendering hint used to override the default
display of the element.
- Throws:
WingException
toSAX
public void toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
throws SAXException
- Translate this element and all contained elements into SAX events. The
events should be routed to the contentHandler found in the WingContext.
- Specified by:
toSAX in interface WingElement- Overrides:
toSAX in class Container
- Parameters:
contentHandler - (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.
- Throws:
SAXException
Copyright © 2012 DuraSpace. All Rights Reserved.