Lines Matching refs:source
215 * specified source. If the unique flag is true, a new instance will
220 * A bit of magic in this implementation: If the source is null, unique is true,
227 * @param source the specification of the source object.
239 synchronized public DTM getDTM(Source source, boolean unique,
244 if(DEBUG && null != source)
247 " source: "+source.getSystemId()
254 if ((null != source) && source instanceof DOMSource)
256 DOM2DTM dtm = new DOM2DTM(this, (DOMSource) source, documentID,
270 boolean isSAXSource = (null != source)
271 ? (source instanceof SAXSource) : true;
272 boolean isStreamSource = (null != source)
273 ? (source instanceof StreamSource) : false;
282 if (null == source) {
285 reader = getXMLReader(source);
286 xmlSource = SAXSource.sourceToInputSource(source);
302 if (source==null && unique && !incremental && !doIndexing) {
310 dtm = new SAX2RTFDTM(this, source, documentID, whiteSpaceFilter,
316 dtm = new XNI2DTM(this, source, documentID, whiteSpaceFilter,
322 dtm = new SAX2DTM(this, source, documentID, whiteSpaceFilter,
480 throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_NOT_SUPPORTED, new Object[]{source})); //"Not supported: " + source);
546 // %BUG% If the source node was a DOM2DTM$defaultNamespaceDeclarationNode