|
||||||||||
| 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.ReferenceSet
public class ReferenceSet
Class representing a set of referenced metadata.
| Field Summary | |
|---|---|
static String |
A_ORDER_BY
The name of the orderBy attribute |
static String |
A_TYPE
The name of the type attribute |
static String |
E_REFERENCE_SET
The name of the referenceSet element |
static String |
TYPE_DETAIL_LIST
|
static String |
TYPE_DETAIL_VIEW
|
static String |
TYPE_SUMMARY_LIST
The possible interactive division methods: get,post, or multipart. |
static String |
TYPE_SUMMARY_VIEW
|
static String[] |
TYPES
The possible interactive division methods names collected into one array |
| 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, A_RENDER |
| Constructor Summary | |
|---|---|
protected |
ReferenceSet(WingContext context,
boolean childreference,
String name,
String type,
String orderBy,
String rend)
Construct a new referenceSet |
| Method Summary | |
|---|---|
Reference |
addReference(Object object)
Add an object reference. |
void |
dispose()
dispose |
Head |
setHead()
Set the head element which is the label associated with this referenceset. |
void |
setHead(Message message)
Set the head element which is the label associated with this referenceset. |
void |
setHead(String characters)
Set the head element which is the label associated with this referenceset. |
void |
toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
Translate this metadata inclusion set to SAX |
| 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_REFERENCE_SET
public static final String A_ORDER_BY
public static final String A_TYPE
public static final String TYPE_SUMMARY_LIST
public static final String TYPE_SUMMARY_VIEW
public static final String TYPE_DETAIL_LIST
public static final String TYPE_DETAIL_VIEW
public static final String[] TYPES
| Constructor Detail |
|---|
protected ReferenceSet(WingContext context,
boolean childreference,
String name,
String type,
String orderBy,
String rend)
throws WingException
context - (Required) The context this element is contained in, such as
where to route SAX events and what i18n catalogue to use.childreference - Whether this is a child reference (not requiring a name).name - (May be null) a local identifier used to differentiate the
element from its siblings.type - (Required) The type of reference set which determines the level
of detail for the metadata rendered. See TYPES for a list of
available types.orderBy - (May be null) Determines the ordering of referenced metadata.rend - (May be null) a rendering hint used to override the default
display of the element.
WingException| Method Detail |
|---|
public Head setHead()
throws WingException
WingException
public void setHead(String characters)
throws WingException
characters - (May be null) Unprocessed characters to be referenced
WingException
public void setHead(Message message)
throws WingException
message - (Required) A key into the i18n catalogue for translation into
the user's preferred language.
WingException
public Reference addReference(Object object)
throws WingException
object - (Required) The referenced object.
WingException
public void toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
throws SAXException
toSAX in interface WingElementcontentHandler - (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.
SAXExceptionpublic void dispose()
dispose in interface WingElementdispose in class AbstractWingElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||