@Beta public final class BindingMapping extends Object
Modifier and Type | Field and Description |
---|---|
static Set<String> |
JAVA_RESERVED_WORDS |
static String |
MEMBER_PATTERN_LIST |
static String |
MEMBER_REGEX_LIST |
static String |
MODEL_BINDING_PROVIDER_CLASS_NAME |
static String |
MODULE_INFO_CLASS_NAME |
static String |
PACKAGE_PREFIX
Package prefix for Binding v2 generated Java code structures
|
static String |
PATTERN_CONSTANT_NAME |
static String |
QNAME_STATIC_FIELD_NAME |
static String |
RPC_INPUT_SUFFIX |
static String |
RPC_OUTPUT_SUFFIX |
static Set<String> |
WINDOWS_RESERVED_WORDS |
Modifier and Type | Method and Description |
---|---|
static String |
getRootPackageName(org.opendaylight.yangtools.yang.model.api.Module module) |
static boolean |
isNegatedPattern(Pattern pattern)
Check if the specified
Pattern is the result of negatePatternString(String) . |
static String |
negatePatternString(String pattern)
Create a
Pattern expression which performs inverted match to the specified pattern. |
public static final String QNAME_STATIC_FIELD_NAME
public static final String PACKAGE_PREFIX
public static final String MODULE_INFO_CLASS_NAME
public static final String MODEL_BINDING_PROVIDER_CLASS_NAME
public static final String PATTERN_CONSTANT_NAME
public static final String MEMBER_PATTERN_LIST
public static final String MEMBER_REGEX_LIST
public static final String RPC_INPUT_SUFFIX
public static final String RPC_OUTPUT_SUFFIX
public static String getRootPackageName(org.opendaylight.yangtools.yang.model.api.Module module)
public static String negatePatternString(String pattern)
Pattern
expression which performs inverted match to the specified pattern. The input pattern
is expected to be a valid regular expression passing Pattern.compile(String)
and to have both start and
end of string anchors as the first and last characters.pattern
- Pattern regular expression to negateIllegalArgumentException
- if the pattern does not conform to expected structureNullPointerException
- if pattern is nullpublic static boolean isNegatedPattern(Pattern pattern)
Pattern
is the result of negatePatternString(String)
. This method
assumes the pattern was not hand-coded but rather was automatically-generated, such that its non-automated
parts come from XSD regular expressions. If this constraint is violated, this method may result false positives.pattern
- Pattern to checkNullPointerException
- if pattern is nullIllegalArgumentException
- if the pattern does not conform to expected structureCopyright © 2019 OpenDaylight. All rights reserved.