Skip to main content
Skip table of contents

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
ReturnsName
XmpMetaImplParse(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.
voidRdfRdf(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
TypeNameDescription
XmlNodexmlRootthe 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
NameDescription
XmpExceptionOccurs if the parsing fails for any reason.
RdfRdf

Source code

internal static void RdfRdf(XmpMetaImpl xmp, XmlNode rdfRdfNode)
Arguments
TypeNameDescription
XmpMetaImplxmpthe xmp metadata object that is generated
XmlNoderdfRdfNodethe 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
NameDescription
XmpExceptionthown on parsing errors

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.