update copyright
[fedora-idea.git] / xml / openapi / src / com / intellij / psi / XmlElementVisitor.java
blobfe5809b1606bd0de653bf1aa94111883c64073b3
1 /*
2 * Copyright 2000-2009 JetBrains s.r.o.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
16 package com.intellij.psi;
18 import com.intellij.psi.xml.*;
20 public abstract class XmlElementVisitor extends PsiElementVisitor {
21 public void visitXmlElement(XmlElement element) {
22 visitElement(element);
25 public void visitXmlFile(XmlFile file) {
26 visitFile(file);
29 public void visitXmlAttribute(XmlAttribute attribute) {
30 visitXmlElement(attribute);
33 public void visitXmlComment(XmlComment comment) {
34 visitXmlElement(comment);
37 public void visitXmlDecl(XmlDecl decl) {
38 visitXmlElement(decl);
41 public void visitXmlDocument(XmlDocument document) {
42 visitXmlElement(document);
45 public void visitXmlProlog(XmlProlog prolog) {
46 visitXmlElement(prolog);
49 public void visitXmlText(XmlText text) {
50 visitXmlElement(text);
53 public void visitXmlTag(XmlTag tag) {
54 visitXmlElement(tag);
57 public void visitXmlToken(XmlToken token) {
58 visitXmlElement(token);
61 public void visitXmlAttributeValue(XmlAttributeValue value) {
62 visitXmlElement(value);
65 public void visitXmlDoctype(XmlDoctype xmlDoctype) {
66 visitXmlElement(xmlDoctype);