public class VariantInfo extends Variant
Constructor and Description |
---|
VariantInfo(MediaType mediaType)
Constructor.
|
VariantInfo(MediaType mediaType,
AnnotationInfo annotationInfo)
Constructor.
|
VariantInfo(Variant variant,
AnnotationInfo annotationInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Indicates if the current variant is equal to the given variant.
|
AnnotationInfo |
getAnnotationInfo()
Returns the optional annotation descriptor.
|
createClientInfo, getCharacterSet, getEncodings, getIdentifier, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setIdentifier, setIdentifier, setLanguages, setLocationRef, setLocationRef, setMediaType, toString
public VariantInfo(MediaType mediaType)
mediaType
- The media type.public VariantInfo(MediaType mediaType, AnnotationInfo annotationInfo)
mediaType
- The media type.annotationInfo
- The optional annotation descriptor.public VariantInfo(Variant variant, AnnotationInfo annotationInfo)
variant
- The variant to enrich.annotationInfo
- The optional annotation descriptor.public boolean equals(java.lang.Object other)
public AnnotationInfo getAnnotationInfo()
Copyright © 2005-2012. All Rights Reserved.