|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
public interface NodeList
NodeList
ÀÎÅÍÆäÀ̽º´Â ¼ø¼¸¦ °®´Â ³ëµåÀÇ Ä÷º¼ÇÀÇ Ãß»óÀ» Á¦°øÇÕ´Ï´Ù. ÀÌ Ä÷º¼ÇÀÇ ±¸Çö ¹æ¹ýÀ» Á¤ÀÇ ¶Ç´Â Á¦ÇÑÇÒ °ÍÀº ¾ø½À´Ï´Ù. DOM ³»ÀÇ NodeList
°´Ã¼´Â ¶óÀÌºê °´Ã¼ÀÔ´Ï´Ù.
NodeList
³»ÀÇ Ç׸ñ¿¡´Â 0 À¸·Î ½ÃÀ۵Ǵ Á¤¼ö À妽º¸¦ »ç¿ëÇØ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù.
¡¸Document Object Model (DOM) Level 3 Core Specification¡¹µµ ÂüÁ¶ÇϽʽÿÀ.
¸Þ¼µå °³¿ä | |
---|---|
int |
getLength ()
¸®½ºÆ®³»ÀÇ ³ëµå¼öÀÔ´Ï´Ù. |
Node |
item (int index)
Ä÷º¼Ç³»ÀÇ index ¹øÂ°ÀÇ Ç׸ñÀ» ¸®ÅÏÇÕ´Ï´Ù. |
¸Þ¼µåÀÇ »ó¼¼ |
---|
Node item(int index)
index
¹øÂ°ÀÇ Ç׸ñÀ» ¸®ÅÏÇÕ´Ï´Ù. index
°¡ ¸®½ºÆ®³»ÀÇ ³ëµå¼ö¿Í °°Àº°¡ ±×°Íº¸´Ù Å« °æ¿ì´Â null
À»
¸®ÅÏÇÕ´Ï´Ù.
index
- Ä÷º¼ÇÀÇ À妽º
NodeList
³»ÀÇ index
¹øÂ°ÀÇ ³ëµå. À妽º°¡ À¯È¿ÇÏÁö ¾ÊÀº °æ¿ì´Â null
int getLength()
length-1
ÀÌÇÏÀÔ´Ï´Ù.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.