Skip to main content
Skip table of contents

ParameterAsserts

ParameterAsserts Internal class

Description

@since 11.08.2006

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.xmp.impl
  iTextSharp.xmp.impl.ParameterAsserts[[ParameterAsserts]]
  end
  subgraph iTextSharp.xmp
  iTextSharp.xmp.XmpConst[[XmpConst]]
  end
iTextSharp.xmp.XmpConst --> iTextSharp.xmp.impl.ParameterAsserts

Members

Methods

Public Static methods
ReturnsName
voidAssertArrayName(string arrayName)
Asserts that an array name is set.
voidAssertImplementation(IXmpMeta xmp)
Asserts that the xmp object is of this implemention
( ).
voidAssertNotNull(object param)
Asserts that any string parameter is set.
voidAssertPrefix(string prefix)
Asserts that a prefix is set.
voidAssertPropName(string propName)
Asserts that a property name is set.
voidAssertSchemaNs(string schemaNs)
Asserts that a schema namespace is set.
voidAssertSpecificLang(string specificLang)
Asserts that a specific language is set.
voidAssertStructName(string structName)
Asserts that a struct name is set.

Details

Summary

@since 11.08.2006

Inheritance

Methods

AssertArrayName

Source code

public static void AssertArrayName(string arrayName)
Arguments
TypeNameDescription
stringarrayNamean array name
Summary

Asserts that an array name is set.

Exceptions
NameDescription
XmpExceptionArray name is null or empty
AssertPropName

Source code

public static void AssertPropName(string propName)
Arguments
TypeNameDescription
stringpropNamea property name or path
Summary

Asserts that a property name is set.

Exceptions
NameDescription
XmpExceptionProperty name is null or empty
AssertSchemaNs

Source code

public static void AssertSchemaNs(string schemaNs)
Arguments
TypeNameDescription
stringschemaNsa schema namespace
Summary

Asserts that a schema namespace is set.

Exceptions
NameDescription
XmpExceptionSchema is null or empty
AssertPrefix

Source code

public static void AssertPrefix(string prefix)
Arguments
TypeNameDescription
stringprefixa prefix
Summary

Asserts that a prefix is set.

Exceptions
NameDescription
XmpExceptionPrefix is null or empty
AssertSpecificLang

Source code

public static void AssertSpecificLang(string specificLang)
Arguments
TypeNameDescription
stringspecificLanga specific lang
Summary

Asserts that a specific language is set.

Exceptions
NameDescription
XmpExceptionSpecific language is null or empty
AssertStructName

Source code

public static void AssertStructName(string structName)
Arguments
TypeNameDescription
stringstructNamea struct name
Summary

Asserts that a struct name is set.

Exceptions
NameDescription
XmpExceptionStruct name is null or empty
AssertNotNull

Source code

public static void AssertNotNull(object param)
Arguments
TypeNameDescription
objectparamany string parameter
Summary

Asserts that any string parameter is set.

Exceptions
NameDescription
XmpExceptionThrown if the parameter is null or has length 0.
AssertImplementation

Source code

public static void AssertImplementation(IXmpMeta xmp)
Arguments
TypeNameDescription
IXmpMetaxmpthe XMP object
Summary

Asserts that the xmp object is of this implemention ( ).

Exceptions
NameDescription
XmpExceptionA wrong implentaion is used.

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.