public abstract class FacetQNameUtils extends Object
QNames
within the faceted search feature. The whole thing should be considered a hack to handle 'special cases'.
These are not intended for general use, or else they'd be in the QName
class.Constructor and Description |
---|
FacetQNameUtils() |
Modifier and Type | Method and Description |
---|---|
static org.alfresco.service.namespace.QName |
createQName(String s,
org.alfresco.service.namespace.NamespacePrefixResolver resolver)
This method converts the supplied qname string into a
QName object. |
public static org.alfresco.service.namespace.QName createQName(String s, org.alfresco.service.namespace.NamespacePrefixResolver resolver)
QName
object.
It accepts both short and long form qname strings.s
- a qname string, such as "cm:name" or "{http://www.alfresco.org/model/content/1.0}name"resolver
- this is needed to convert any qname prefixes into their long form.NullPointerException
- if the provided string is null
.IllegalArgumentException
- if the provided string could not be recognised as a valid QName.Copyright © 2005–2017 Alfresco Software. All rights reserved.