Class SerializationParamsHandler

java.lang.Object
net.sf.saxon.serialize.SerializationParamsHandler

public class SerializationParamsHandler extends Object
This class handles a set of serialization parameters provided in the form of an XDM instance as specified in the Serialization 3.0 definition, section 3.1
  • Field Details

  • Constructor Details

    • SerializationParamsHandler

      public SerializationParamsHandler()
    • SerializationParamsHandler

      public SerializationParamsHandler(Properties props)
  • Method Details

    • setLocator

      public void setLocator(Location locator)
      Set the location of the instruction to be used for error message reporting
      Parameters:
      locator - the location for error reporting
    • setSerializationParams

      public void setSerializationParams(NodeInfo node) throws XPathException
      Set the serialization parameters in the form of an XDM instance
      Parameters:
      node - either the serialization-parameters element node, or a document node having this element as its only child
      Throws:
      XPathException - if incorrect serialization parameters are found
    • getSerializationProperties

      public SerializationProperties getSerializationProperties()
      Get the output properties represented by this serialization parameter document
      Returns:
      the output properties obtained by parsing and validating this serialization parameter document
    • getCharacterMap

      public CharacterMap getCharacterMap()