|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Object javax.xml.validation.TypeInfoProvider
public abstract class TypeInfoProvider
ÀÌ Å¬·¡½º´Â ValidatorHandler
¿¡ ÀÇÇØ ÆÇÁ¤µÈ ÇüÅ Á¤º¸¿¡ ¾×¼¼½º ÇÕ´Ï´Ù.
W3C XML Schema µîÀÇ ÀϺÎÀÇ schema ¾ð¾î¿¡¼´Â ¹ß¸® µ¥ÀÌÅÍ·Î °¢ ¼Ó¼º ¹× ¿ä¼Ò¿¡ ÇÒ´çÇÏ´Â ¡¸ÇüÅ¡¹¸¦ º¸°íÇÒ °ÍÀÌ Ãßõ µÇ°í ÀÖ½À´Ï´Ù. ÀÌ ÇüÅ Á¤º¸¿¡ ¾×¼¼½º ÇÏ·Á°í ÇÏ´Â ¾îÇø®ÄÉÀ̼ǿ¡¼´Â ÀÌ ¡¸ÀÎÅÍÆäÀ̽º¡¹¿¡ Á¤ÀÇµÈ ¸Þ¼µå¸¦ È£ÃâÇØ ±×·¯ÇÑ ÇüÅ Á¤º¸¿¡ ¾×¼¼½º ÇÒ ¼ö ÀÖ½À´Ï´Ù.
ÀÌ ¡¸ÀÎÅÍÆäÀ̽º¡¹ÀÇ ±¸ÇöÀº ValidatorHandler.getTypeInfoProvider()
¸Þ¼µå¿¡ ÀÇÇØ ÃëµæÇÒ ¼ö ÀÖ½À´Ï´Ù.
TypeInfo
»ý¼ºÀÚ °³¿ä | |
---|---|
protected |
TypeInfoProvider ()
»ó¼Ó Ŭ·¡½ºÀÇ »ý¼ºÀÚ ÀÔ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
abstract TypeInfo |
getAttributeTypeInfo (int index)
ÇöÀçÀÇ ¿ä¼ÒÀÇ ÁöÁ¤µÈ ¼Ó¼ºÀÇ ºÒº¯ TypeInfo °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
abstract TypeInfo |
getElementTypeInfo ()
ÇöÀçÀÇ ¿ä¼ÒÀÇ ºÒº¯ TypeInfo °´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
abstract boolean |
isIdAttribute (int index)
ÁöÁ¤µÈ ¼Ó¼ºÀÌ ½Äº°ÀÚÀ̶ó°í ÆÇÁ¤µÇ¾úÀ» °æ¿ì¿¡ true¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
abstract boolean |
isSpecified (int index)
¼Ó¼ºÀÌ ¹ß¸® µ¥ÀÌÅÍ¿¡ ÀÇÇØ Ãß°¡µÇ¾úÀ» °æ¿ì false¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
protected TypeInfoProvider()
ÀÌ »ý¼ºÀÚ´Â ¾Æ¹«°Íµµ ½Ç½ÃÇÏÁö ¾Ê½À´Ï´Ù.
¸Þ¼µåÀÇ »ó¼¼ |
---|
public abstract TypeInfo getElementTypeInfo()
ÇöÀçÀÇ ¿ä¼ÒÀÇ ºÒº¯ TypeInfo
°´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù.
¸Þ¼µå´Â ¾îÇø®ÄÉÀ̼ÇÀ¸·Î ValidatorHandler
·Î ¼³Á¤ÇÑ ContentHandler
startElement À̺¥Æ®¿¡
Çؼ¸¸ È£ÃâÇÒ ¼ö ÀÖ½À´Ï´Ù
.
TypeInfo
°´Ã¼. È£ÃâÃøÀº ÃëµæÇÑ TypeInfo
¸¦
ÄÝ¹é ½ºÄÚÇÁº¸´Ù ±æ°Ô º¸°ü À¯ÁöÇÒ ¼ö ÀÖ´Â °Í¿¡ ÁÖÀÇ. ¶Ç´Â ¹ß¸® µ¥ÀÌÅÍ°¡ ¾î¶°ÇÑ ÀÌÀ¯ (¿¹¸¦ µé¾î ¹ß¸® µ¥ÀÌÅÍ°¡ ÀÌÀüÀÇ ¿¡·¯·ÎºÎÅÍ È¸º¹ÁßÀÎ °æ¿ìµî)¿¡ÀÇÇØ ÇöÀçÀÇ ¿ä¼ÒÀÇ ÇüŸ¦ ÆÇÁ¤ÇÒ ¼ö ¾ø´Â °æ¿ì, ÀÌ ¸Þ¼µå´Â nullÀ»
µ¹·ÁÁØ´Ù
IllegalStateException
- ÀÌ ¸Þ¼µå°¡ ´Ù¸¥ ContentHandler
¸Þ¼µå·ÎºÎÅÍ ºÒ·Á °¬À» °æ¿ìpublic abstract TypeInfo getAttributeTypeInfo(int index)
TypeInfo
°´Ã¼¸¦ ¸®ÅÏÇÕ´Ï´Ù.
¸Þ¼µå´Â ¾îÇø®ÄÉÀ̼ÇÀ¸·Î ValidatorHandler
·Î ¼³Á¤ÇÑ ContentHandler
startElement À̺¥Æ®¿¡
Çؼ¸¸ È£ÃâÇÒ ¼ö ÀÖ½À´Ï´Ù
.
index
- ¼Ó¼ºÀÇ À妽º. startElement Äݹ鿡°Ô °Ç³×Áø Attributes
°´Ã¼ÀÇ °°Àº À妽º
TypeInfo
°´Ã¼. È£ÃâÃøÀº ÃëµæÇÑ TypeInfo
¸¦
ÄÝ¹é ½ºÄÚÇÁº¸´Ù ±æ°Ô º¸°ü À¯ÁöÇÒ ¼ö ÀÖ´Â °Í¿¡ ÁÖÀÇ. ¶Ç´Â ¹ß¸® µ¥ÀÌÅÍ°¡ ÇüŸ¦ ÆÇÁ¤ÇÒ ¼ö ¾ø´Â °æ¿ì, ÀÌ ¸Þ¼µå´Â nullÀ»
µ¹·ÁÁØ´Ù
IndexOutOfBoundsException
- À妽º°¡ ¹«È¿ÀÎ °æ¿ì
IllegalStateException
- ÀÌ ¸Þ¼µå°¡ ´Ù¸¥ ContentHandler
¸Þ¼µå·ÎºÎÅÍ ºÒ·Á °¬À» °æ¿ìpublic abstract boolean isIdAttribute(int index)
¼Ó¼ºÀÌ ¾î¶»°ÔÀÇÇØ ¡¸½Äº°ÀÚ·Î ÆÇÁ¤µÈ´Ù¡¹Àΰ¡´Â schema ¾ð¾î¿¡ ÀÇÇØ ´Ù¸¨´Ï´Ù. W3C XML SchemaÀÎ °æ¿ì´Â ¼Ó¼ºÀÇ ½ÇÁ¦ÀÇ ÇüÅ°¡ Â¥³Ö¾î ½Äº°ÀÚÇü ¶Ç´Â ±× ÆÄ»ýÇüÀ̸é, ½Äº°ÀÚ·Î ÆÇÁ¤µË´Ï´Ù.
DocumentBuilder
´Â ÀÌ Á¤º¸¸¦ »ç¿ëÇØ, Attr.isId()
¸¦
¿Ã¹Ù¸£°Ô ±¸ÇöÇÕ´Ï´Ù.
¸Þ¼µå´Â ¾îÇø®ÄÉÀ̼ÇÀ¸·Î ValidatorHandler
·Î ¼³Á¤ÇÑ ContentHandler
startElement À̺¥Æ®¿¡
Çؼ¸¸ È£ÃâÇÒ ¼ö ÀÖ½À´Ï´Ù
.
index
- ¼Ó¼ºÀÇ À妽º. startElement Äݹ鿡°Ô °Ç³×Áø Attributes
°´Ã¼ÀÇ °°Àº À妽º
IndexOutOfBoundsException
- À妽º°¡ ¹«È¿ÀÎ °æ¿ì
IllegalStateException
- ÀÌ ¸Þ¼µå°¡ ´Ù¸¥ ContentHandler
¸Þ¼µå·ÎºÎÅÍ ºÒ·Á °¬À» °æ¿ìpublic abstract boolean isSpecified(int index)
ÀÌ ¸Þ¼µå´Â DocumentBuilder
°¡ Attr.getSpecified()
¸Þ¼µå·ÎºÎÅÍ µ¹·ÁÁÙ ÇÊ¿ä°¡ ÀÖ´Â DOM Æ®¸®¸¦ ƯÁ¤Çϱâ À§Çؼ ÇÊ¿äÇÑ Á¤º¸¸¦ Á¦°øÇÕ´Ï´Ù.
¸Þ¼µå´Â ¾îÇø®ÄÉÀ̼ÇÀ¸·Î ValidatorHandler
·Î ¼³Á¤ÇÑ ContentHandler
startElement À̺¥Æ®¿¡
Çؼ¸¸ È£ÃâÇÒ ¼ö ÀÖ½À´Ï´Ù
.
¹ß¸® µ¥ÀÌÅÍÀÇ ÀϹÝÀûÀÎ °¡ÀÌµå ¶óÀÎÀº ¼Ó¼ºÀÌ Ã³À½ºÎÅÍ ÆÄÀÌÇÁ¶óÀο¡ Á¸ÀçÇÏ°í ÀÖ¾úÀ» °æ¿ì true¸¦ µ¹·ÁÁÖ°í, ¹ß¸® µ¥ÀÌÅÍ¿¡ ÀÇÇØ Ãß°¡µÇ¾úÀ» °æ¿ì false¸¦ µ¹·ÁÁÖ´Â °ÍÀÔ´Ï´Ù.
index
- ¼Ó¼ºÀÇ À妽º. startElement Äݹ鿡°Ô °Ç³×Áø Attributes
°´Ã¼ÀÇ °°Àº À妽º
IndexOutOfBoundsException
- À妽º°¡ ¹«È¿ÀÎ °æ¿ì
IllegalStateException
- ÀÌ ¸Þ¼µå°¡ ´Ù¸¥ ContentHandler
¸Þ¼µå·ÎºÎÅÍ ºÒ·Á °¬À» °æ¿ì
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.