| Package | Description |
|---|---|
| org.opencastproject.mediapackage |
| Modifier and Type | Field and Description |
|---|---|
static EName |
XMLCatalogImpl.XML_LANG_ATTR
Expanded name of the XML language attribute
xml:lang. |
static EName |
XMLCatalogImpl.XSI_TYPE_ATTR
Expanded name of the XSI type attribute.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<EName,List<XMLCatalogImpl.CatalogEntry>> |
XMLCatalogImpl.data
Key (QName) value meta data
|
| Modifier and Type | Method and Description |
|---|---|
static EName |
EName.fromString(String strEName)
Parse a W3C compliant string representation
{namespaceURI}localname. |
static EName |
EName.fromString(String strEName,
String defaultNameSpace)
Parse a W3C compliant string representation
{namespaceURI}localname. |
EName |
XMLCatalogImpl.CatalogEntry.getEName()
Returns the expanded name of the entry.
|
static EName |
EName.mk(String localName)
Create a new expanded name which does not belong to a namespace.
|
static EName |
EName.mk(String namespaceURI,
String localName) |
protected EName |
XMLCatalogImpl.toEName(String qName)
Transform a qualified name to an expanded name, based on the registered binding.
|
protected EName |
XMLCatalogImpl.toEName(String prefix,
String localName)
Transform an qualified name consisting of prefix and local part to an expanded name, based on the registered
binding.
|
| Modifier and Type | Method and Description |
|---|---|
Map<EName,String> |
XMLCatalogImpl.CatalogEntry.getAttributes()
Returns the element's attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XMLCatalogImpl.addElement(EName element,
String value)
Adds the element to the metadata collection.
|
protected void |
XMLCatalogImpl.addElement(EName element,
String value,
Attributes attributes)
Adds an element with attributes to the catalog.
|
protected void |
XMLCatalogImpl.addLocalizedElement(EName element,
String value,
String language)
Adds the element with the
xml:lang attribute to the metadata collection. |
protected void |
XMLCatalogImpl.addTypedElement(EName element,
String value,
EName type)
Adds the element with the
xsi:type attribute to the metadata collection. |
protected void |
XMLCatalogImpl.addTypedLocalizedElement(EName element,
String value,
String language,
EName type)
Adds an element with the
xml:lang and xsi:type attributes to the metadata collection. |
int |
EName.compareTo(EName o) |
String |
XMLCatalogImpl.CatalogEntry.getAttribute(EName name)
Returns the attribute value for the given attribute.
|
protected XMLCatalogImpl.CatalogEntry |
XMLCatalogImpl.getFirstLocalizedValue(EName element,
String language)
Returns the first value that is associated with the specified name and language.
|
protected XMLCatalogImpl.CatalogEntry |
XMLCatalogImpl.getFirstTypedValue(EName element,
String type)
Returns the first value that is associated with the specified name and language.
|
protected XMLCatalogImpl.CatalogEntry |
XMLCatalogImpl.getFirstValue(EName element)
Returns the first value that is associated with the specified name.
|
protected XMLCatalogImpl.CatalogEntry |
XMLCatalogImpl.getFirstValue(EName element,
EName attributeEName,
String attributeValue)
Returns the first element that is associated with the specified name and attribute.
|
protected List<XMLCatalogImpl.CatalogEntry> |
XMLCatalogImpl.getLocalizedValuesAsList(EName element,
String language)
Returns the values that are associated with the specified key.
|
protected XMLCatalogImpl.CatalogEntry[] |
XMLCatalogImpl.getValues(EName element)
Returns the values that are associated with the specified key.
|
protected List<XMLCatalogImpl.CatalogEntry> |
XMLCatalogImpl.getValuesAsList(EName element)
Returns the values that are associated with the specified key.
|
boolean |
XMLCatalogImpl.CatalogEntry.hasAttribute(EName name)
Returns
true if the element contains an attribute with the given name. |
protected void |
XMLCatalogImpl.removeElement(EName element)
Completely removes an element.
|
protected void |
XMLCatalogImpl.removeLocalizedValues(EName element,
String language)
Removes all entries in a certain language from an element.
|
protected String |
XMLCatalogImpl.toQName(EName eName)
Transform an expanded name to a qualified name based on the registered binding.
|
| Constructor and Description |
|---|
CatalogEntry(EName name,
String value,
Map<EName,String> attributes)
Creates a new catalog element representation with name, value and attributes.
|
| Constructor and Description |
|---|
CatalogEntry(EName name,
String value,
Map<EName,String> attributes)
Creates a new catalog element representation with name, value and attributes.
|
Copyright © 2009–2020 Opencast Project. All rights reserved.