Package org.verapdf.model.tools.xmp
Class ValidatorsContainer
- java.lang.Object
-
- org.verapdf.model.tools.xmp.ValidatorsContainer
-
public class ValidatorsContainer extends Object
- Author:
- Maksim Bezrukov
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisKnownType(String typeName)booleanvalidate(VeraPDFXMPNode node, String typeName)Validates the given node to corresponding the given type
-
-
-
Method Detail
-
validate
public boolean validate(VeraPDFXMPNode node, String typeName)
Validates the given node to corresponding the given type- Parameters:
node- node for validatingtypeName- type for corresponding- Returns:
- true if the given type is registred and the given node corresponds to it
-
isKnownType
public boolean isKnownType(String typeName)
-
-