01: /*******************************************************************************
02: * Copyright (c) 2007 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.core.text;
11:
12: /**
13: * IDocumentFactory
14: *
15: */
16: public interface IDocumentNodeFactory {
17:
18: public IDocumentAttributeNode createAttribute(String name,
19: String value, IDocumentElementNode enclosingElement);
20:
21: public IDocumentElementNode createDocumentNode(String name,
22: IDocumentElementNode parent);
23:
24: public IDocumentTextNode createDocumentTextNode(String content,
25: IDocumentElementNode parent);
26:
27: }
|