public class RepositoryMeta extends AbstractWingElement implements WingMergeableElement, MetadataElement
| Modifier and Type | Field and Description |
|---|---|
static String |
A_REPOSITORY_ID
The name of this repository identifier attribute
|
static String |
A_REPOSITORY_URL
The unique url of this repository
|
static String |
E_REPOSITORY
The name of the repository element
|
static String |
E_REPOSITORY_META
The name of the ObjectMeta element
|
contextA_REPOSITORY_IDENTIFIER| Modifier | Constructor and Description |
|---|---|
protected |
RepositoryMeta(WingContext context)
Construct a new RepositoryMeta
|
| Modifier and Type | Method and Description |
|---|---|
Attributes |
merge(Attributes attributes)
Inform this element that it is being merged with an existing element.
|
WingMergeableElement |
mergeChild(String namespace,
String localName,
String qName,
Attributes attributes)
Since we will only add to the object set and never modify an existing
object we do not merge any child elements.
|
boolean |
mergeEqual(String namespace,
String localName,
String qName,
Attributes attributes)
Determine if the given SAX event is a ObjectMeta element.
|
void |
toSAX(ContentHandler contentHandler,
LexicalHandler lexicalHandler,
NamespaceSupport namespaces)
Translate this element into SAX events.
|
dispose, endElement, endElement, getWingContext, greater, lesser, require, require, requireFalse, requireTrue, restrict, sendCharacters, setWingContext, startElement, startElementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisposepublic static final String E_REPOSITORY_META
public static final String E_REPOSITORY
public static final String A_REPOSITORY_ID
public static final String A_REPOSITORY_URL
protected RepositoryMeta(WingContext context) throws WingException
context - (Required) The context this element is contained in, such as
where to route SAX events and what i18n catalogue to use.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.SAXExceptionCopyright © 2015 DuraSpace. All Rights Reserved.