|
||||||||||
| 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.Reference
public class Reference
Reference a repository object that is referenced in the ObjectMeta portion of the DRI document. These are internal references distinct from the xref element which is used for extrenal references.
| Field Summary | |
|---|---|
static String |
A_REPOSITORY_ID
The name of the repositoryIdentifier attribute |
static String |
A_TYPE
An optional type of the referenced object. |
static String |
A_URL
The name of the objectIdentifier attribute |
static String |
E_REFERENCE
The name of the reference element |
| 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 |
Reference(WingContext context,
Object object)
Construct a new object reference. |
| Method Summary | |
|---|---|
ReferenceSet |
addReferenceSet(String type)
Add a nested include set |
ReferenceSet |
addReferenceSet(String type,
String orderBy)
Add a nested reference set |
ReferenceSet |
addReferenceSet(String type,
String orderBy,
String render)
Add a nested reference set. |
void |
dispose()
dispose |
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
public static final String A_REPOSITORY_ID
public static final String A_TYPE
public static final String A_URL
| Constructor Detail |
|---|
protected Reference(WingContext context,
Object object)
throws WingException
context - (Required) The context this element is contained in, such as
where to route SAX events and what i18n catalogue to use.object - (Required) The referenced object.
WingException| Method Detail |
|---|
public ReferenceSet addReferenceSet(String type,
String orderBy,
String render)
throws WingException
type - (required) The reference type, see referenceSet.TYPESorderBy - (May be null) A statement of ordering for reference sets.render - (May be null) a rendering hint used to override the default
display of the element.
WingException
public ReferenceSet addReferenceSet(String type,
String orderBy)
throws WingException
type - (required) The reference type, see referenceSet.TYPESorderBy - (May be null) A statement of ordering for reference sets.
WingException
public ReferenceSet addReferenceSet(String type)
throws WingException
type - (required) The include type, see includeSet.TYPES
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 | |||||||||