Package org.gedcomx.types
Enum Class SourceReferenceQualifierType
- All Implemented Interfaces:
Serializable,Comparable<SourceReferenceQualifierType>,Constable,ControlledVocabulary
public enum SourceReferenceQualifierType
extends Enum<SourceReferenceQualifierType>
implements ControlledVocabulary
Enumeration of standard source reference qualifiers.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA region of text in a digital document, in the form of `a,b` where `a` is the start character and `b` is the end character.A rectangular region of a digital image.A region of time of an audio or video recording, in the form of `a,b` where `a` is the starting point in milliseconds and `b` is the ending point in milliseconds. -
Method Summary
Modifier and TypeMethodDescriptionstatic SourceReferenceQualifierTypefromQNameURI(URI qname) Get the enumeration from the QName.Return the QName value for this enum.static SourceReferenceQualifierTypeReturns the enum constant of this class with the specified name.static SourceReferenceQualifierType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CharacterRegion
A region of text in a digital document, in the form of `a,b` where `a` is the start character and `b` is the end character. -
RectangleRegion
A rectangular region of a digital image. The value of the qualifier is interpreted as a series of four comma-separated numbers. If all of the numbers is less than 1, the value is interpreted in the form of `x1,y1,x2,y2` where `x1,y1` is the relative percentage-based coordinates of the top-left corner of the rectangle and `x2,y2` is the relative percentage-based coordinates of the bottom-right corner of the rectangle. If any of the numbers is more than 1, the value is interpreted in the form of `x,y,w,h` where `x` is the point on the X axis of the image in pixels, `y` is the point on the Y axis in pixels, `w` is the width of the rectangle in pixels, and `h` in the height of the rectangle in pixels. -
TimeRegion
A region of time of an audio or video recording, in the form of `a,b` where `a` is the starting point in milliseconds and `b` is the ending point in milliseconds. -
OTHER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toQNameURI
Return the QName value for this enum.- Specified by:
toQNameURIin interfaceControlledVocabulary- Returns:
- The QName value for this enum.
-
fromQNameURI
Get the enumeration from the QName.- Parameters:
qname- The qname.- Returns:
- The enumeration.
-