| java.lang.Object org.dspace.app.xmlui.wing.element.AbstractWingElement org.dspace.app.xmlui.wing.element.PageMeta
Method Summary | |
public Metadata | addMetadata(String element, String qualifier, String language, boolean allowMultiple) Add metadata about this page.
Parameters: element - (Required) The metadata element. Parameters: qualifier - (May be null) The metadata qualifier. Parameters: language - (May be null) The metadata's language Parameters: allowMultiple - (Required) determine if multipe metadata element with the sameelement, qualifier and language are allowed. | public Metadata | addMetadata(String element, String qualifier, String language) Add metadata about this page. | public Metadata | addMetadata(String element, String qualifier) Add metadata about this page.
Parameters: element - (Required) The metadata element. Parameters: qualifier - (May be null) The metadata qualifier. | public Metadata | addMetadata(String element) Add metadata about this page.
Parameters: element - (Required) The metadata element. | public Trail | addTrail(String target, String rend) Add a new trail to the page. | public Trail | addTrail() Add a new trail to the page without a link or render attribute. | public void | addTrailLink(String target, String characters) Add a new trail link to the page. | public void | addTrailLink(String target, Message message) Add a new trail link to the page. | public void | dispose() | public Attributes | merge(Attributes attributes) Inform this element that it is being merged with an existing element. | public WingMergeableElement | mergeChild(String namespace, String localName, String qName, Attributes attributes) Since metadata can not be merged there are no mergeable children. | public boolean | mergeEqual(String namespace, String localName, String qName, Attributes attributes) Determine if the given SAX event is a PageMeta element. | public void | toSAX(ContentHandler contentHandler, LexicalHandler lexicalHandler, NamespaceSupport namespaces) Translate this element into SAX events. |
E_PAGE_META | final public static String E_PAGE_META(Code) | | Name of the pageMeta element
|
PageMeta | protected PageMeta(WingContext context) throws WingException(Code) | | Construct a new pageMeta
Parameters: context - (Required) The context this element is contained in, such aswhere to route SAX events and what i18n catalogue to use. |
addMetadata | public Metadata addMetadata(String element, String qualifier, String language, boolean allowMultiple) throws WingException(Code) | | Add metadata about this page.
Parameters: element - (Required) The metadata element. Parameters: qualifier - (May be null) The metadata qualifier. Parameters: language - (May be null) The metadata's language Parameters: allowMultiple - (Required) determine if multipe metadata element with the sameelement, qualifier and language are allowed. A new metadata |
addMetadata | public Metadata addMetadata(String element, String qualifier, String language) throws WingException(Code) | | Add metadata about this page.
Parameters: element - (Required) The metadata element. Parameters: qualifier - (May be null) The metadata qualifier. Parameters: language - (May be null) The metadata's language A new metadata |
addMetadata | public Metadata addMetadata(String element, String qualifier) throws WingException(Code) | | Add metadata about this page.
Parameters: element - (Required) The metadata element. Parameters: qualifier - (May be null) The metadata qualifier. A new metadata |
addMetadata | public Metadata addMetadata(String element) throws WingException(Code) | | Add metadata about this page.
Parameters: element - (Required) The metadata element. A new metadata |
addTrail | public Trail addTrail(String target, String rend) throws WingException(Code) | | Add a new trail to the page.
Parameters: target - (May be null) Target URL for this trail item. Parameters: rend - (May be null) special rendering instructions a new trail |
addTrail | public Trail addTrail() throws WingException(Code) | | Add a new trail to the page without a link or render attribute.
a new trail |
addTrailLink | public void addTrailLink(String target, String characters) throws WingException(Code) | | Add a new trail link to the page.
Parameters: target - (May be null) The Target URL for this trail item. Parameters: characters - (May be null) The textual contents of this trail item. |
addTrailLink | public void addTrailLink(String target, Message message) throws WingException(Code) | | Add a new trail link to the page.
Parameters: target - (May be null) The Target URL for this trail item. Parameters: message - (Required) The textual contents of this trail item to betranslated |
dispose | public void dispose()(Code) | | dispose
|
mergeChild | public WingMergeableElement mergeChild(String namespace, String localName, String qName, Attributes attributes) throws SAXException, WingException(Code) | | Since metadata can not be merged there are no mergeable children. This
just return's null.
Parameters: namespace - The element's name space Parameters: localName - The local, unqualified, name for this element * Parameters: qName - The qualified name for this element Parameters: attributes - The element's attributes The child element |
mergeEqual | public boolean mergeEqual(String namespace, String localName, String qName, Attributes attributes) throws SAXException, WingException(Code) | | Determine if the given SAX event is a PageMeta element.
Parameters: namespace - The element's name space Parameters: localName - The local, unqualified, name for this element Parameters: qName - The qualified name for this element Parameters: attributes - The element's attributes True if this WingElement is equivalent to the given SAX Event. |
toSAX | public void toSAX(ContentHandler contentHandler, LexicalHandler lexicalHandler, NamespaceSupport namespaces) throws SAXException(Code) | | Translate this element into SAX events.
Parameters: contentHandler - (Required) The registered contentHandler where SAX eventsshould be routed too. Parameters: lexicalHandler - (Required) The registered lexicalHandler where lexical events (such as CDATA, DTD, etc) should be routed too. Parameters: namespaces - (Required) SAX Helper class to keep track of namespaces ableto determine the correct prefix for a given namespace URI. |
Methods inherited from org.dspace.app.xmlui.wing.element.AbstractWingElement | public void dispose()(Code)(Java Doc) protected void endElement(ContentHandler contentHandler, NamespaceSupport namespaces, String name) throws SAXException(Code)(Java Doc) protected void endElement(ContentHandler contentHandler, NamespaceSupport namespaces, Namespace namespace, String name) throws SAXException(Code)(Java Doc) protected WingContext getWingContext()(Code)(Java Doc) protected void greater(int parameter, int greater, String message) throws WingInvalidArgument(Code)(Java Doc) protected void lesser(int parameter, int lesser, String message) throws WingInvalidArgument(Code)(Java Doc) protected void require(String parameter, String message) throws WingInvalidArgument(Code)(Java Doc) protected void require(Message parameter, String message) throws WingInvalidArgument(Code)(Java Doc) protected void requireFalse(boolean test, String message) throws WingInvalidArgument(Code)(Java Doc) protected void requireTrue(boolean test, String message) throws WingInvalidArgument(Code)(Java Doc) protected void restrict(String parameter, String[] options, String message) throws WingInvalidArgument(Code)(Java Doc) protected void sendCharacters(ContentHandler contentHandler, String characters) throws SAXException(Code)(Java Doc) protected void setWingContext(WingContext context)(Code)(Java Doc) protected void startElement(ContentHandler contentHandler, NamespaceSupport namespaces, String name, AttributeMap attributes) throws SAXException(Code)(Java Doc) protected void startElement(ContentHandler contentHandler, NamespaceSupport namespaces, Namespace namespace, String name, AttributeMap attributes) throws SAXException(Code)(Java Doc)
|
|
|