C# Class iTextSharp.xmp.impl.ParameterAsserts

@since 11.08.2006
Inheritance: XmpConst
ファイルを表示 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
AssertArrayName ( string arrayName ) : void

Asserts that an array name is set.

AssertImplementation ( IXmpMeta xmp ) : void

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

AssertNotNull ( object param ) : void

Asserts that any string parameter is set.

AssertPrefix ( string prefix ) : void

Asserts that a prefix is set.

AssertPropName ( string propName ) : void

Asserts that a property name is set.

AssertSchemaNs ( string schemaNs ) : void

Asserts that a schema namespace is set.

AssertSpecificLang ( string specificLang ) : void

Asserts that a specific language is set.

AssertStructName ( string structName ) : void

Asserts that a struct name is set.

Private Methods

Method Description
ParameterAsserts ( )

private constructor

Method Details

AssertArrayName() public static method

Asserts that an array name is set.
Array name is null or empty
public static AssertArrayName ( string arrayName ) : void
arrayName string an array name
return void

AssertImplementation() public static method

Asserts that the xmp object is of this implemention (XmpMetaImpl).
A wrong implentaion is used.
public static AssertImplementation ( IXmpMeta xmp ) : void
xmp IXmpMeta the XMP object
return void

AssertNotNull() public static method

Asserts that any string parameter is set.
Thrown if the parameter is null or has length 0.
public static AssertNotNull ( object param ) : void
param object any string parameter
return void

AssertPrefix() public static method

Asserts that a prefix is set.
Prefix is null or empty
public static AssertPrefix ( string prefix ) : void
prefix string a prefix
return void

AssertPropName() public static method

Asserts that a property name is set.
Property name is null or empty
public static AssertPropName ( string propName ) : void
propName string a property name or path
return void

AssertSchemaNs() public static method

Asserts that a schema namespace is set.
Schema is null or empty
public static AssertSchemaNs ( string schemaNs ) : void
schemaNs string a schema namespace
return void

AssertSpecificLang() public static method

Asserts that a specific language is set.
Specific language is null or empty
public static AssertSpecificLang ( string specificLang ) : void
specificLang string a specific lang
return void

AssertStructName() public static method

Asserts that a struct name is set.
Struct name is null or empty
public static AssertStructName ( string structName ) : void
structName string a struct name
return void