01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 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.ischema;
11:
12: import org.eclipse.pde.core.IWritable;
13:
14: /**
15: * Objects of this type are holding information about complex types defined
16: * inside schema elements.
17: */
18: public interface ISchemaComplexType extends ISchemaType,
19: ISchemaAttributeProvider, IWritable {
20: /**
21: * A complex type can have one root compositor.
22: @ return root complex type compositor
23: */
24: public ISchemaCompositor getCompositor();
25:
26: /**
27: * Returns whether the content of the element that owns this type
28: * can mix child elements and text.
29: *@return true if element can mix text and other elements
30: */
31: public boolean isMixed();
32: }
|