iText 5

ParseRdf

ParseRdf Public class

Description

Parser for "normal" XML serialisation of RDF.

@since 14.07.2006

Diagram

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

Members

Methods

Internal Static methods

Returns

Name

XmpMetaImpl

Parse

(XmlNode xmlRoot)
The main parsing method. The XML tree is walked through from the root node and and XMP tree
is created. This is a raw parse, the normalisation of the XMP tree happens outside.

void

RdfRdf

(

XmpMetaImpl

xmp, XmlNode rdfRdfNode)
Each of these parsing methods is responsible for recognizing an RDF
syntax production and adding the appropriate structure to the XMP tree.
They simply return for success, failures will throw an exception.

Details

Summary

Parser for "normal" XML serialisation of RDF.

@since 14.07.2006

Inheritance

Constructors

ParseRdf

public ParseRdf()

Methods

Parse

Source code

internal static XmpMetaImpl Parse(XmlNode xmlRoot)

Arguments

Type

Name

Description

XmlNode

xmlRoot

the XML root node

Summary

The main parsing method. The XML tree is walked through from the root node and and XMP tree is created. This is a raw parse, the normalisation of the XMP tree happens outside.

Returns

Returns an XMP metadata object (not normalized)

Exceptions

Name

Description

XmpException

Occurs if the parsing fails for any reason.

RdfRdf

Source code

internal static void RdfRdf(XmpMetaImpl xmp, XmlNode rdfRdfNode)

Arguments

Type

Name

Description

XmpMetaImpl

xmp

the xmp metadata object that is generated

XmlNode

rdfRdfNode

the top-level xml node

Summary

Each of these parsing methods is responsible for recognizing an RDF syntax production and adding the appropriate structure to the XMP tree. They simply return for success, failures will throw an exception.

Exceptions

Name

Description

XmpException

thown on parsing errors

Generated with ModularDoc