class final Core · pdftoolkit/pdf 0.12.4
PDF\Document\Structure\StructureNamespaceNamespace dictionary, ISO_32000-2_sponsored_EC3.pdf, table 356, physical page 744.Inheritance and contracts
Parent : PDF\Syntax\Object\DictionaryType
Interfaces : Countable, IteratorAggregate, PDF\Document\VersionedComponent, PDF\Syntax\FileStructure\BasicType, Stringable, Traversable
ISO 32000-2:2020 EC3 definition
Table 356 · Entries in a namespace dictionary
§14.7.4.2 · PDF page 744
Original PDF at the documented commit ↗ · Source metadata at the documented commit ↗ · Public errata ↗
Original retained in the core repository. Table inventory and semantic validation remain distinct.
| Entry | PDF type | Physical PDF page | Requirement |
|---|---|---|---|
/Type | name | 744 | Optional |
/NS | text string | 744 | Required |
/Schema | file specification | 744 | Optional |
/RoleMapNS | dictionary | 744 | Optional |
Construction
__construct()
public function __construct(PDF\Document\Structure\StandardStructureNamespace|string $identifier, PDF\Document\Structure\NamespaceRoleMap $roleMap = new NamespaceRoleMap(), ?PDF\Syntax\FileStructure\BasicType $schema = null)Declared methods
validateVersion()
public function validateVersion(PDF\Syntax\FileStructure\EffectivePdfVersion $version): voidwith()
public function with(PDF\Syntax\Object\DictionaryObject\Entry $entry): staticwithout()
public function without(PDF\Syntax\Object\NameType|string $key): staticInherited methods
7 methods from parents and contracts
__toString()
public function __toString(): stringcount()
public function count(): intentries()
public function entries(): iterable@return iterable<Entry>get()
public function get(PDF\Syntax\Object\NameType|string $key): ?PDF\Syntax\FileStructure\BasicTypegetIterator()
public function getIterator(): Traversablehas()
public function has(PDF\Syntax\Object\NameType|string $key): booltoPdf()
public function toPdf(PDF\Serialization\SerializationContext $context): stringProperties
| Declaration | Origin and documentation |
|---|---|
public readonly string $identifier | PDF\Document\Structure\StructureNamespace |
public readonly PDF\Document\Structure\NamespaceRoleMap $roleMap | PDF\Document\Structure\StructureNamespace |