/******************************************************************************* * Copyright (c) 2004, 2008 John Krasnay and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * John Krasnay - initial API and implementation *******************************************************************************/ package net.sf.vex.dom; /** * Factory for returning a WhitespacePolicy object given a document type * public ID. This is required by DocumentBuilder, since we don't know what * WhitespacePolicy we need before we begin parsing the document. */ public interface IWhitespacePolicyFactory { /** * Return a WhitespacePolicy for documents with the given public ID. * @param publicId Public ID of the document type associated with * the document. */ public IWhitespacePolicy getPolicy(String publicId); }