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