public class LanguageFeature extends Object
Modifier and Type | Field and Description |
---|---|
static LanguageFeature |
ALL_EXTENSIONS |
static StructuredQName |
ALL_OPTIONAL_FEATURES |
static int |
ALWAYS |
static LanguageFeature |
HIGHER_ORDER_FUNCTION |
static LanguageFeature |
HIGHER_ORDER_FUNCTION_ALL_OPTIONAL_FEATURES |
static LanguageFeature |
MODULE |
static LanguageFeature |
MODULE_ALL_OPTIONAL_FEATURES |
static int |
NEVER |
static int |
OPTIONAL |
static LanguageFeature |
SERIALIZATION |
static LanguageFeature |
SERIALIZATION_ALL_OPTIONAL_FEATURES |
static LanguageFeature |
STATIC_TYPING |
static LanguageFeature |
STATIC_TYPING_ALL_OPTIONAL_FEATURES |
static LanguageFeature |
TYPED_DATA |
static LanguageFeature |
TYPED_DATA_ALL_OPTIONAL_FEATURES |
static LanguageFeature |
TYPED_DATA_SCHEMAS |
Constructor and Description |
---|
LanguageFeature(StructuredQName name,
LanguageFeature parent,
int availability) |
Modifier and Type | Method and Description |
---|---|
static Collection<LanguageFeature> |
getAllOptionalFeatures()
Get the list of all recognized optional features
|
int |
getAvailability()
Determine the availability of the feature in Saxon
|
Set<LanguageFeature> |
getChildren()
Get the children of this feature
|
static LanguageFeature |
getFeature(StructuredQName name)
Get the feature with a given name
|
StructuredQName |
getName()
Get the name of the feature
|
LanguageFeature |
getParent()
Get the parent (container) of the feature
|
public static final int ALWAYS
public static final int NEVER
public static final int OPTIONAL
public static final StructuredQName ALL_OPTIONAL_FEATURES
public static final LanguageFeature TYPED_DATA
public static final LanguageFeature TYPED_DATA_SCHEMAS
public static final LanguageFeature TYPED_DATA_ALL_OPTIONAL_FEATURES
public static final LanguageFeature STATIC_TYPING
public static final LanguageFeature STATIC_TYPING_ALL_OPTIONAL_FEATURES
public static final LanguageFeature SERIALIZATION
public static final LanguageFeature SERIALIZATION_ALL_OPTIONAL_FEATURES
public static final LanguageFeature MODULE
public static final LanguageFeature MODULE_ALL_OPTIONAL_FEATURES
public static final LanguageFeature HIGHER_ORDER_FUNCTION
public static final LanguageFeature HIGHER_ORDER_FUNCTION_ALL_OPTIONAL_FEATURES
public static final LanguageFeature ALL_EXTENSIONS
public LanguageFeature(StructuredQName name, LanguageFeature parent, int availability)
public static Collection<LanguageFeature> getAllOptionalFeatures()
public StructuredQName getName()
public LanguageFeature getParent()
public Set<LanguageFeature> getChildren()
public int getAvailability()
public static LanguageFeature getFeature(StructuredQName name)
name
- the name of the featureCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.