public interface QNamed
Contract: Every object implementing hasQName should overwrite the toString() method and return the QName.
Warning: Using this interface does not imply any information about the equals() or hashCode() methods. So for using objects with qualified names in a Collection, you need information from the implementing class.
Modifier and Type | Method and Description |
---|---|
String |
getLocalName()
Get only localname
|
String |
getNamespace()
Get only namespace
|
String |
getQName()
Get the QName (i.e. namespace:localname )
|
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.