Package ca.phon.xml

Class XMLObjectReaderFactory

java.lang.Object
ca.phon.xml.XMLObjectReaderFactory

public class XMLObjectReaderFactory extends Object
Creates XMLObjectReader for given QName references.
  • Constructor Details

    • XMLObjectReaderFactory

      public XMLObjectReaderFactory()
    • XMLObjectReaderFactory

      public XMLObjectReaderFactory(ClassLoader cl)
  • Method Details

    • createReader

      public <T> XMLObjectReader<T> createReader(String namespace, String name, Class<T> type)
      Return the XMLObjectReader for the given namespace and element name.
      Parameters:
      namespace -
      name -
      Returns:
      an XMLObjectReader or null if an appropriate reader could not be found.
    • createReader

      public <T> XMLObjectReader<T> createReader(QName qname, Class<T> type)
      Return the XMLObjectReader for the given QName
      Parameters:
      qname -
      Returns:
      an XMLObjectReader or null if an appropriate reader could not be found.