JavaTM 2 Platform
Standard Ed. 5.0

org.w3c.dom
ÀÎÅÍÆäÀ̽º NodeList

¾Ë·ÁÁø ±¸Çö Ŭ·¡½º ¸ñ·Ï:
IIOMetadataNode

public interface NodeList

NodeListÀÎÅÍÆäÀ̽º´Â ¼ø¼­¸¦ °®´Â ³ëµåÀÇ Ä÷º¼ÇÀÇ Ãß»óÀ» Á¦°øÇÕ´Ï´Ù. ÀÌ Ä÷º¼ÇÀÇ ±¸Çö ¹æ¹ýÀ» Á¤ÀÇ ¶Ç´Â Á¦ÇÑÇÒ °ÍÀº ¾ø½À´Ï´Ù. DOM ³»ÀÇ NodeList°´Ã¼´Â ¶óÀÌºê °´Ã¼ÀÔ´Ï´Ù.

NodeList ³»ÀÇ Ç׸ñ¿¡´Â 0 À¸·Î ½ÃÀ۵Ǵ Á¤¼ö À妽º¸¦ »ç¿ëÇØ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù.

¡¸Document Object Model (DOM) Level 3 Core Specification¡¹µµ ÂüÁ¶ÇϽʽÿÀ.


¸Þ¼­µå °³¿ä
 int getLength ()
          ¸®½ºÆ®³»ÀÇ ³ëµå¼öÀÔ´Ï´Ù.
 Node item (int index)
          Ä÷º¼Ç³»ÀÇ index ¹ø°ÀÇ Ç׸ñÀ» ¸®ÅÏÇÕ´Ï´Ù.
 

¸Þ¼­µåÀÇ »ó¼¼

item

Node  item(int index)
Ä÷º¼Ç³»ÀÇ index ¹ø°ÀÇ Ç׸ñÀ» ¸®ÅÏÇÕ´Ï´Ù. index°¡ ¸®½ºÆ®³»ÀÇ ³ëµå¼ö¿Í °°Àº°¡ ±×°Íº¸´Ù Å« °æ¿ì´Â nullÀ» ¸®ÅÏÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
index - Ä÷º¼ÇÀÇ À妽º
¹Ýȯ°ª:
NodeList ³»ÀÇ index ¹ø°ÀÇ ³ëµå. À妽º°¡ À¯È¿ÇÏÁö ¾ÊÀº °æ¿ì´Â null

getLength

int getLength()
¸®½ºÆ®³»ÀÇ ³ëµå¼öÀÔ´Ï´Ù. À¯È¿ÇÑÀÚ½Ä ³ëµå À妽ºÀÇ ¹üÀ§´Â 0 ÀÌ»ó length-1 ÀÌÇÏÀÔ´Ï´Ù.


JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.