Package ca.phon.xml
Class XMLObjectReaderFactory
java.lang.Object
ca.phon.xml.XMLObjectReaderFactory
Creates
XMLObjectReader
for given QName
references.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> XMLObjectReader<T>
createReader
(String namespace, String name, Class<T> type) Return the XMLObjectReader for the given namespace and element name.<T> XMLObjectReader<T>
createReader
(QName qname, Class<T> type) Return the XMLObjectReader for the givenQName
-
Constructor Details
-
XMLObjectReaderFactory
public XMLObjectReaderFactory() -
XMLObjectReaderFactory
-
-
Method Details
-
createReader
Return the XMLObjectReader for the given namespace and element name.- Parameters:
namespace
-name
-- Returns:
- an
XMLObjectReader
ornull
if an appropriate reader could not be found.
-
createReader
Return the XMLObjectReader for the givenQName
- Parameters:
qname
-- Returns:
- an
XMLObjectReader
ornull
if an appropriate reader could not be found.
-