Package org.alfresco.repo.event2
Class QNameHelper
- java.lang.Object
-
- org.alfresco.repo.event2.QNameHelper
-
public class QNameHelper extends java.lang.ObjectHelper forQNameobjects.- Author:
- Sara Aspery
-
-
Constructor Summary
Constructors Constructor Description QNameHelper(org.alfresco.service.namespace.NamespaceService namespaceService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetQNamePrefixString(org.alfresco.service.namespace.QName k)Returns the QName in the format prefix:local, but in the exceptional case where there is no registered prefix returns it in the form {uri}local.
-
-
-
Method Detail
-
getQNamePrefixString
public java.lang.String getQNamePrefixString(org.alfresco.service.namespace.QName k)
Returns the QName in the format prefix:local, but in the exceptional case where there is no registered prefix returns it in the form {uri}local.- Parameters:
k- QName- Returns:
- a String representing the QName in the format prefix:local or {uri}local.
-
-