/**
  * Return the position on the element.
  *
  * @param element The element to get the value getter for.
  * @param reader The reader to use.
  * @return The factored Position to use.
  * @throws XMLException If an error occurs during the XML processing.
  */
 public static Position getPosition(Node element, XMLReader<Node> reader) throws XMLException {
   return FACTORY.getFactoredObject(element, reader);
 }
 static {
   FACTORY.add(new StringPositionFactory());
   FACTORY.add(new AbsolutePositionFactory());
   FACTORY.add(new LineEndPositionFactory());
 }