object MetaData extends Serializable
Copyright 2008 Google Inc. All Rights Reserved.
- Alphabetic
- By Inheritance
- MetaData
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
concatenate(attribs: MetaData, new_tail: MetaData): MetaData
appends all attributes from new_tail to attribs, without attempting to detect or remove duplicates.
appends all attributes from new_tail to attribs, without attempting to detect or remove duplicates. The method guarantees that all attributes from attribs come before the attributes in new_tail, but does not guarantee to preserve the relative order of attribs.
Duplicates can be removed with
normalize
.- Annotations
- @tailrec()
-
def
getUniversalKey(attrib: MetaData, scope: NamespaceBinding): String
returns key if md is unprefixed, pre+key is md is prefixed
-
def
normalize(attribs: MetaData, scope: NamespaceBinding): MetaData
returns normalized MetaData, with all duplicates removed and namespace prefixes resolved to namespace URIs via the given scope.
-
def
update(attribs: MetaData, scope: NamespaceBinding, updates: MetaData): MetaData
returns MetaData with attributes updated from given MetaData