|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.model.Factory.RecognizerList
Constructor Summary | |
protected |
Factory.RecognizerList()
|
Method Summary | |
void |
addRecognizer(int index,
Recognizer recognizer)
Registers a Recognizer , placing it in the
specified location in the list of recognizers. |
void |
addRecognizer(Recognizer recognizer)
Registers a ElementRecognizer , appending it to the end
of the list of recognizers. |
Recognizer |
findRecognizer(java.net.URL url)
Returns the instance of Recognizer that is able to specify
the Node class that should be instantiated for the given
URL . |
java.util.Iterator |
getRecognizers()
Returns the list of registered recognizers. |
java.lang.Class |
recognize(java.net.URL url)
Returns the instance of Recognizer that is able to specify
the Element class that should be instantiated for the given
url . |
void |
removeRecognizer(Recognizer recognizer)
Unregisters a Recognizer . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Factory.RecognizerList()
Method Detail |
public Recognizer findRecognizer(java.net.URL url)
Recognizer
that is able to specify
the Node
class that should be instantiated for the given
URL
. If no Recognizer
can determine the
Node
class, then null
is returned.
public java.lang.Class recognize(java.net.URL url)
Recognizer
that is able to specify
the Element
class that should be instantiated for the given
url
. If no Recognizer
can determine
the Element
class, then null
is returned.
public void addRecognizer(Recognizer recognizer)
ElementRecognizer
, appending it to the end
of the list of recognizers.
recognizer
- instance of a ElementRecognizer
implementation.public void addRecognizer(int index, Recognizer recognizer)
Recognizer
, placing it in the
specified location in the list of recognizers. Specifying
a position less than or equal to 0 prepends this recognizer to the
list. A position value larger than (or equal to) the current list size
appends this recognizer to the end of the list. All other values
insert this recognizer somewhere in the middle of the list.
index
- the index into the list of recognizers
where this recognizer will be addedrecognizer
- instance of a Recognizer
implementation.public void removeRecognizer(Recognizer recognizer)
Recognizer
.
recognizer
- instance of a Recognizer
implemenation.public java.util.Iterator getRecognizers()
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.