org.dspace.app.xmlui.wing.element
Class Trail
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.Trail
- All Implemented Interfaces:
- WingElement
public class Trail
- extends TextContainer
This is a class representing a trail element. Trail elements carry
information about the user's current location in the system relative to the
repository's root page.
- Author:
- Scott Phillips
| 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_TRAIL
public static final String E_TRAIL
- The name of the trail element
- See Also:
- Constant Field Values
A_TARGET
public static final String A_TARGET
- The name of the target attribute
- See Also:
- Constant Field Values
A_RENDER
public static final String A_RENDER
- The name of the render attribute
- See Also:
- Constant Field Values
Trail
protected Trail(WingContext context,
String target,
String rend)
throws WingException
- Construct a new trail
- Parameters:
target - (May be null) The trail's targetrend - (May be null) Special rendering instructions.
- Throws:
WingException
toSAX
public void toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
throws SAXException
- Translate into SAX events.
- 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.