org.dspace.app.xmlui.wing.element
Class Container
java.lang.Object
org.dspace.app.xmlui.wing.element.AbstractWingElement
org.dspace.app.xmlui.wing.element.Container
- All Implemented Interfaces:
- WingElement
- Direct Known Subclasses:
- Instance, TextContainer
public abstract class Container
- extends AbstractWingElement
| 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 |
contents
protected List<AbstractWingElement> contents
- The internal contents of this container
Container
protected Container(WingContext context)
throws WingException
- Parameters:
context - (Required) The context this element is contained in.
- 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.
This method does not create an inclosing block, the implementors of
container class need to implement a method of toSAX() that provides the
surrounding element block for that specific application.
- 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
dispose
public void dispose()
- Dispose
- Specified by:
dispose in interface WingElement- Overrides:
dispose in class AbstractWingElement
Copyright © 2012 DuraSpace. All Rights Reserved.