public class Meta extends AbstractWingElement implements WingMergeableElement
| Modifier and Type | Field and Description |
|---|---|
static String |
E_META
The name of the meta element
|
context| Modifier | Constructor and Description |
|---|---|
protected |
Meta(WingContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
dispose
|
Attributes |
merge(Attributes attributes)
Notify this element that it is being merged.
|
WingMergeableElement |
mergeChild(String namespace,
String localName,
String qName,
Attributes attributes)
Merge the given sub-domain of metadata elements.
|
boolean |
mergeEqual(String namespace,
String localName,
String qName,
Attributes attributes)
Determine if the given SAX event is a Meta element.
|
PageMeta |
setPageMeta()
Set a new page oriented metadata set.
|
RepositoryMeta |
setRepositoryMeta()
Set a new repository oriented metadata set.
|
UserMeta |
setUserMeta()
Set a new user oriented metadata set.
|
void |
toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
Translate to SAX events
|
endElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElementpublic static final String E_META
protected Meta(WingContext context) throws WingException
WingExceptionpublic UserMeta setUserMeta() throws WingException
WingExceptionpublic PageMeta setPageMeta() throws WingException
WingExceptionpublic RepositoryMeta setRepositoryMeta() throws WingException
WingExceptionpublic boolean mergeEqual(String namespace, String localName, String qName, Attributes attributes) throws SAXException, WingException
mergeEqual in interface WingMergeableElementnamespace - The element's name spacelocalName - The local, unqualified, name for this elementqName - The qualified name for this elementattributes - The element's attributesSAXExceptionWingExceptionpublic WingMergeableElement mergeChild(String namespace, String localName, String qName, Attributes attributes) throws SAXException, WingException
mergeChild in interface WingMergeableElementnamespace - The element's name spacelocalName - The local, unqualified, name for this element *qName - The qualified name for this elementattributes - The element's attributesSAXExceptionWingExceptionpublic Attributes merge(Attributes attributes) throws SAXException, WingException
merge in interface WingMergeableElementSAXExceptionWingExceptionpublic 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 AbstractWingElementCopyright © 2013 DuraSpace. All Rights Reserved.