diff options
Diffstat (limited to 'bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/errorcustomization/ElementInformation.java')
-rw-r--r-- | bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/errorcustomization/ElementInformation.java | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/errorcustomization/ElementInformation.java b/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/errorcustomization/ElementInformation.java deleted file mode 100644 index 649c99e553..0000000000 --- a/bundles/org.eclipse.wst.xml.core/src-validation/org/eclipse/wst/xml/core/internal/validation/errorcustomization/ElementInformation.java +++ /dev/null @@ -1,72 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 IBM Corporation 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.wst.xml.core.internal.validation.errorcustomization; - -import java.util.ArrayList; -import java.util.List; - -/** - * A simple class to store information about an XML element. - */ -public class ElementInformation -{ - protected String localName; - protected String namespace; - protected List children = new ArrayList(); - - /** - * Constructor. - * - * @param uri - * The namespace URI of the element. - * @param localName - * The local name of the element. - */ - public ElementInformation(String uri, String localName) - { - this.localName = localName; - this.namespace = uri; - } - - /** - * Get the namespace of this element. - * - * @return - * The namespace of this element. - */ - public String getNamespace() - { - return namespace; - } - - /** - * Get the local name of this element. - * - * @return - * The local name of this element. - */ - public String getLocalname() - { - return localName; - } - - /** - * Get the list of children of this element. The list contains - * ElementInformation objects representing the children of this element. - * - * @return - * The list of children of this element. - */ - public List getChildren() - { - return children; - } -}
\ No newline at end of file |