public interface AttributeKeyType extends MetadataType
Modifier and Type | Method and Description |
---|---|
QName |
getName()
The name of the key if it is a named key else throws a NoSuchElementException.
|
Pattern |
getPattern()
The pattern of the key if it is a pattern based key else throws a NoSuchElementException.
|
boolean |
isName()
Return if the this is a named key or not
|
boolean |
isPattern()
Return if the this is a pattern key or not.
|
accept, getAnnotation, getAnnotations, getDescription, getMetadataFormat
QName getName()
NoSuchElementException
- if it is not a named key.boolean isName()
True
if it is a named keyPattern getPattern()
NoSuchElementException
- if it is not a pattern based key.boolean isPattern()
True
if it is a pattern keyCopyright © 2018. All rights reserved.