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
|
Returns |
Name |
|---|---|
|
|
( |
|
|
(
xmp)
|
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
|
|
( |
Details
Summary
@since 11.08.2006
Inheritance
Methods
AssertArrayName
Source code
public static void AssertArrayName(string arrayName)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
arrayName |
an array name |
Summary
Asserts that an array name is set.
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
Array name is null or empty |
AssertPropName
Source code
public static void AssertPropName(string propName)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
propName |
a property name or path |
Summary
Asserts that a property name is set.
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
Property name is null or empty |
AssertSchemaNs
Source code
public static void AssertSchemaNs(string schemaNs)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
schemaNs |
a schema namespace |
Summary
Asserts that a schema namespace is set.
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
Schema is null or empty |
AssertPrefix
Source code
public static void AssertPrefix(string prefix)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
prefix |
a prefix |
Summary
Asserts that a prefix is set.
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
Prefix is null or empty |
AssertSpecificLang
Source code
public static void AssertSpecificLang(string specificLang)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
specificLang |
a specific lang |
Summary
Asserts that a specific language is set.
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
Specific language is null or empty |
AssertStructName
Source code
public static void AssertStructName(string structName)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
structName |
a struct name |
Summary
Asserts that a struct name is set.
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
Struct name is null or empty |
AssertNotNull
Source code
public static void AssertNotNull(object param)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
param |
any string parameter |
Summary
Asserts that any string parameter is set.
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
Thrown if the parameter is null or has length 0. |
AssertImplementation
Source code
public static void AssertImplementation(IXmpMeta xmp)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
xmp |
the XMP object |
Summary
Asserts that the xmp object is of this implemention ( ).
Exceptions
|
Name |
Description |
|---|---|
|
XmpException |
A wrong implentaion is used. |
Generated with ModularDoc