org.dspace.app.xmlui.wing.element
Interface WingElement

All Known Subinterfaces:
WingMergeableElement
All Known Implementing Classes:
AbstractWingElement, Body, Button, Cell, CheckBox, Composite, Container, Data, Division, Error, Field, Figure, File, Head, Help, Hidden, Highlight, Instance, Item, Label, List, Meta, Metadata, Option, Options, PageMeta, Para, Params, Password, Radio, Reference, ReferenceSet, RepositoryMeta, RichTextContainer, Row, Select, SimpleHTMLFragment, Table, Text, TextArea, TextContainer, Trail, UserMeta, Value, WingDocument, Xref

public interface WingElement

This basic interface is implemented by all WingElements, once an element has been created it can be translated into SAX events and disposed of.

Author:
Scott Phillips

Method Summary
 void dispose()
          Dispose
 void toSAX(ContentHandler contentHandler, LexicalHandler lexicalHandler, NamespaceSupport namespaces)
          Translate this element and all contained elements into SAX events.
 

Method Detail

toSAX

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.

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

void dispose()
Dispose



Copyright © 2012 DuraSpace. All Rights Reserved.