Class PEFNamespaceContext

java.lang.Object
org.daisy.braille.pef.PEFNamespaceContext
All Implemented Interfaces:
NamespaceContext

public class PEFNamespaceContext extends Object implements NamespaceContext
Provides a NamespaceContext implementation for PEF 1.0. It includes namespace prefix mapping for namespaces in PEF 1.0, namely:
  • http://www.daisy.org/ns/2008/pef
  • http://purl.org/dc/elements/1.1/
Author:
Joel HÃ¥kansson
  • Constructor Details

    • PEFNamespaceContext

      public PEFNamespaceContext()
      Creates a new PEFNamespaceContext using the prefixes pef for http://www.daisy.org/ns/2008/pef and dc for http://purl.org/dc/elements/1.1/
    • PEFNamespaceContext

      public PEFNamespaceContext(String pefPrefix, String dcPrefix)
      Creates a new PEFNamespaceContext using the supplied prefixes
      Parameters:
      pefPrefix - the prefix to use for http://www.daisy.org/ns/2008/pef
      dcPrefix - the prefix to use for http://purl.org/dc/elements/1.1/
  • Method Details