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,
org.xml.sax.helpers.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
WingException - never.public PageMeta setPageMeta() throws WingException
WingException - never.public RepositoryMeta setRepositoryMeta() throws WingException
WingException - never.public 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 attributesSAXException - whenever.WingException - whenever.public 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 attributesSAXException - whenever.WingException - whenever.public Attributes merge(Attributes attributes) throws SAXException, WingException
merge in interface WingMergeableElementattributes - attributes.SAXException - whenever.WingException - whenever.public void toSAX(ContentHandler contentHandler, LexicalHandler lexicalHandler, org.xml.sax.helpers.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.SAXException - on error.public void dispose()
AbstractWingElementdispose in interface WingElementdispose in class AbstractWingElementCopyright © 2016 DuraSpace. All rights reserved.