Code example for InputSource

Methods: getSystemId

0
		 * @see org.xml.sax.EntityResolver#resolveEntity(java.lang.String, java.lang.String) 
		 */ 
		public InputSource resolveEntity(String publicId, String systemId) {
			InputSource source= super.resolveEntity(publicId, systemId);
			if (source != null) {
				String path = getFileUtils().fromURI(source.getSystemId());
				if (currentEntityName == null) {
					currentEntityPath= path;
				} else { 
					getAntModel().addEntity(currentEntityName, path);
					currentEntityName= null;
				} 
			} 
			return source;
		} 
         
        /* (non-Javadoc) 
         * @see org.xml.sax.ContentHandler#startPrefixMapping(java.lang.String, java.lang.String) 
         */ 
        public void startPrefixMapping(String prefix, String uri) {