Class DOMParser

Object
DOMParser

public class DOMParser extends Object
Parses a DOM (Document Object Model) using the geotools xml binding system.

This parser should be used if the source xml being parsed has already been parsed into a Document. If not use one of Parser or Parser.

Author:
Justin Deoliveira, The Open Planning Project
  • Constructor Details

    • DOMParser

      public DOMParser(Configuration configuration, Document document)
      Creates a new instance of the parser.
      Parameters:
      configuration - Object representing the configuration of the parser.
      document - An xml document.
    • DOMParser

      public DOMParser(Configuration configuration, Document document, EntityResolver entityResolver)
      Creates a new instance of the parser.
      Parameters:
      configuration - Object representing the configuration of the parser.
      document - An xml document.
      entityResolver - An entity resolver to use when parsing the document, or null to use the default one.
  • Method Details