Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.model.spi
Class XMLRootElementRecognizer  view XMLRootElementRecognizer download XMLRootElementRecognizer.java

java.lang.Object
  extended byjavax.ide.model.spi.SuffixRecognizer
      extended byjavax.ide.model.spi.XMLRootElementRecognizer

public final class XMLRootElementRecognizer
extends SuffixRecognizer

Information about how to recognize an XML document by its root element.


Field Summary
private  java.util.Collection _rootElements
           
 
Fields inherited from class javax.ide.model.spi.SuffixRecognizer
 
Constructor Summary
XMLRootElementRecognizer(javax.ide.util.MetaClass documentClass)
           
 
Method Summary
 void addRootElement(javax.ide.extension.ElementName elementName)
           
 java.util.Collection getRootElements()
           
 java.util.Collection getSuffixes()
           
 
Methods inherited from class javax.ide.model.spi.SuffixRecognizer
addSuffix, containsSuffix, getDocumentClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_rootElements

private java.util.Collection _rootElements
Constructor Detail

XMLRootElementRecognizer

public XMLRootElementRecognizer(javax.ide.util.MetaClass documentClass)
Method Detail

addRootElement

public void addRootElement(javax.ide.extension.ElementName elementName)

getSuffixes

public java.util.Collection getSuffixes()
Overrides:
getSuffixes in class SuffixRecognizer

getRootElements

public java.util.Collection getRootElements()