public static enum XLink.Type extends Enum<XLink.Type>
xlink
. This type can be determined from the set of non-null
attribute values in a XLink
instance.XLink.getType()
Defined in the sis-utility
module
Enum Constant and Description |
---|
ARC
A traversal rule between resources.
|
AUTO
A special value for computing the type automatically from the
XLink attributes. |
EXTENDED
An extended, possibly multi-resource, link.
|
LOCATOR
A pointer to an external resource.
|
RESOURCE
An internal resource.
|
SIMPLE
A simple link.
|
TITLE
A descriptive title for another linking element.
|
Modifier and Type | Method and Description |
---|---|
static XLink.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XLink.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XLink.Type SIMPLE
public static final XLink.Type EXTENDED
public static final XLink.Type LOCATOR
public static final XLink.Type RESOURCE
public static final XLink.Type ARC
public static final XLink.Type TITLE
public static final XLink.Type AUTO
public static XLink.Type[] values()
for (XLink.Type c : XLink.Type.values()) System.out.println(c);
public static XLink.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2010–2017 The Apache Software Foundation. All rights reserved.