Class Tag
java.lang.Object
org.yaml.snakeyaml.nodes.Tag
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Stringstatic final Tagstatic final Tagstatic final Tagstatic final Tagstatic final Tag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue()inthashCode()booleanisCompatible(Class<?> clazz) Java has more than 1 class compatible with a language-independent tag (!!int, !!float, !!timestamp etc)booleanCheck if the that is global and not standard to provide it to TagInspector for verification.booleanbooleanCheck whether this tag matches the global tag for the ClassbooleanstartsWith(String prefix) toString()
-
Field Details
-
PREFIX
- See Also:
-
YAML
-
MERGE
-
SET
-
PAIRS
-
OMAP
-
BINARY
-
INT
-
FLOAT
-
TIMESTAMP
-
BOOL
-
NULL
-
STR
-
SEQ
-
MAP
-
standardTags
-
COMMENT
-
-
Constructor Details
-
Tag
-
Tag
-
-
Method Details
-
isSecondary
public boolean isSecondary() -
getValue
-
startsWith
-
getClassName
-
toString
-
equals
-
hashCode
-
isCompatible
Java has more than 1 class compatible with a language-independent tag (!!int, !!float, !!timestamp etc)- Parameters:
clazz- - Class to check compatibility- Returns:
- true when the Class can be represented by this language-independent tag
-
matches
-
isCustomGlobal
public boolean isCustomGlobal()Check if the that is global and not standard to provide it to TagInspector for verification.- Returns:
- true when the tag must be verified to avoid remote code invocation
-