Modifier and Type | Field and Description |
---|---|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.Complete
show warnings and require all traits
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.Incomplete
show warnings and allow missing traits
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.NoWarnComplete
ignore warnings and require all traits
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.NoWarnIncomplete
ignore warnings and allow missing traits
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.RecursiveComplete
show warnings and require all traits - also recurse referenced elements
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.RecursiveIncomplete
show warnings and allow missing traits- also recurse referenced elements
|
Modifier and Type | Method and Description |
---|---|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.getEnum(int enumValue) |
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.getEnum(String enumName) |
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.incompleteLevel(JDFElement.EnumValidationLevel level)
calculate the corresponding incomplete level based on level
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.setNoWarning(JDFElement.EnumValidationLevel level,
boolean noWarning)
calculate the corresponding nowarn level based on level
|
Modifier and Type | Method and Description |
---|---|
boolean |
JDFElement.exclusiveOneOfAttribute(JDFElement.EnumValidationLevel level,
String att1,
String att2,
String att3,
String att4)
return true if no more than one of att1 or att2 exists or exactly one of att1 or att2 exists depending on level
|
boolean |
JDFElement.exclusiveOneOfElement(JDFElement.EnumValidationLevel level,
String elm1,
String ns1,
String elm2,
String ns2)
return true if no more than one of att1 or att2 exists or exactly one of att1 or att2 exists depending on level
|
VString |
JDFPartAmount.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFResourceLink.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFElement.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax)
get invalid attributes
|
VString |
JDFElement.getInvalidElements_JDFElement(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax)
Method GetInvalidElements_JDFElement.
|
VString |
JDFElement.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax)
get invalid elements
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.incompleteLevel(JDFElement.EnumValidationLevel level)
calculate the corresponding incomplete level based on level
|
static boolean |
JDFElement.EnumValidationLevel.isNoWarn(JDFElement.EnumValidationLevel vl)
return true if vl is a recursvive EnumValidationLevel
|
static boolean |
JDFElement.EnumValidationLevel.isRecursive(JDFElement.EnumValidationLevel vl)
return true if vl is a recursvive EnumValidationLevel
|
static boolean |
JDFElement.EnumValidationLevel.isRequired(JDFElement.EnumValidationLevel level)
returns true if the enumeration level is either Complete, NoWarnComplete or RecursiveComplete, i.e. if the parameter is required
|
boolean |
JDFElement.isValid_JDFElement(JDFElement.EnumValidationLevel level)
Mother of all validators; this method is for direct access to the JDFElement valid method and short-circuit all overriding virtual methods
|
boolean |
JDFResourceLink.isValid(JDFElement.EnumValidationLevel level)
default validator
|
boolean |
JDFElement.isValid(JDFElement.EnumValidationLevel level)
Mother of all validators
|
boolean |
JDFRefElement.isValid(JDFElement.EnumValidationLevel level) |
static boolean |
JDFElement.requiredLevel(JDFElement.EnumValidationLevel level)
Deprecated.
use EnumValidationLevel.isRequired()
|
static JDFElement.EnumValidationLevel |
JDFElement.EnumValidationLevel.setNoWarning(JDFElement.EnumValidationLevel level,
boolean noWarning)
calculate the corresponding nowarn level based on level
|
boolean |
JDFElement.validAttribute(String key,
String nameSpaceURI,
JDFElement.EnumValidationLevel level)
is the attribute valid and of type iType. iType is of type EnumAttributeType but may be expanded in child classes
default: validAttribute(key, null)
|
boolean |
AttributeInfo.validAttribute(String key,
String attribute,
JDFElement.EnumValidationLevel level) |
Modifier and Type | Method and Description |
---|---|
VString |
JDFMessage.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFMessage.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFResourceInfo.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax)
Method getInvalidElements
default: GetInvalidElements(level, true, 999999)
|
Modifier and Type | Method and Description |
---|---|
VString |
JDFNode.getInvalidLinks(JDFElement.EnumValidationLevel level,
int nMax)
typesafe validator utility
|
boolean |
JDFNode.hasInvalidLinks(JDFElement.EnumValidationLevel level)
true if invalid Links are in this element
|
boolean |
JDFNode.isValid(JDFElement.EnumValidationLevel level)
typesafe validator, checks whether all resource links are ok
|
boolean |
JDFNode.isValidLink(JDFElement.EnumValidationLevel level,
JDFResourceLink rl)
isValidLink check whether an resLink is legal for this class
|
Modifier and Type | Method and Description |
---|---|
XMLDoc |
JDFDevice.getBadJDFInfo(JDFNode jdfRoot,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level)
Composes a BugReport in XML form for the given JDFNode 'jdfRoot'.
|
VElement |
JDFDevice.getExecutableJDF(JDFNode docRoot,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel validationLevel)
Gets of jdfRoot a vector of all executable nodes (jdf root or children nodes that this Device may execute)
|
VString |
JDFResource.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax)
Typesafe validator.
|
boolean |
JDFResource.isValid(JDFElement.EnumValidationLevel level)
Validator of 'this'
|
boolean |
JDFResource.validResourceClass(JDFElement.EnumValidationLevel level)
Typesafe attribute validation of Class
corresponds to C++ JDFResource::ValidClass()
|
Modifier and Type | Method and Description |
---|---|
void |
JDFDevCaps.analyzeDevCaps(KElement testRoot,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level,
KElement mrp,
KElement irp,
HashSet goodElems,
HashMap badElems,
boolean ignoreExtensions) |
KElement |
JDFDevCaps.devCapReport(KElement elem,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level,
boolean ignoreExtensions,
KElement parentReport)
devCapReport - tests if the elements in vElem fit any (logical OR) DevCap
element that DevCaps consists of.
|
XMLDoc |
JDFDeviceCap.getBadJDFInfo(JDFNode jdfRoot,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level)
Composes a BugReport in XML form for the given JDFNode 'jdfRoot'.
|
VElement |
JDFDeviceCap.getExecutableJDF(JDFNode jdfRoot,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level)
Gets of jdfRoot a vector of all executable nodes (jdf root or children nodes that this Device may execute)
|
VString |
JDFNumberState.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFDevCaps.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFIntegerState.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFDevCap.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFNameState.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
protected VString |
JDFAbstractState.getInvalidAttributesImpl(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFTest.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
VString |
JDFnot.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
static XMLDoc |
JDFDeviceCap.getJMFInfo(JDFJMF jmfRoot,
JDFResponse knownMessagesResp,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level,
boolean ignoreExtensions)
Composes a BugReport in XML form for the given JMF message 'jmfRoot'.
|
KElement |
JDFDevCap.stateReport(KElement e,
JDFBaseDataTypes.EnumFitsValue testlists,
JDFElement.EnumValidationLevel level,
boolean ignoreExtensions,
boolean bRecurse,
KElement parentReport)
Tests if the attributes and subelements of the given element match the
corresponding States and DevCap subelements of this DevCap.
|
Modifier and Type | Method and Description |
---|---|
VString |
JDFColor.getInvalidAttributes(JDFElement.EnumValidationLevel level,
boolean ignorePrivate,
int max) |
VString |
JDFIdentical.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean ignorePrivate,
int max)
add Part in case it is inconsistent
|
VString |
JDFSourceResource.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
boolean |
JDFColorPool.isValid(JDFElement.EnumValidationLevel level)
typesafe validator
|
Modifier and Type | Method and Description |
---|---|
VString |
JDFAssetListCreationParams.getInvalidElements(JDFElement.EnumValidationLevel level,
boolean bIgnorePrivate,
int nMax) |
Modifier and Type | Field and Description |
---|---|
JDFElement.EnumValidationLevel |
JDFValidator.level |
Copyright © 2018. All rights reserved.