|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor¡¡ ¡¡ | ¸Þ¼µå | »ó¼¼: Çʵå | constructor¡¡ ¡¡ | ¸Þ¼µå |
java.lang.Objectorg.w3c.dom.bootstrap.DOMImplementationRegistry
public final class DOMImplementationRegistry
¾îÇø®ÄÉÀ̼ÇÀº ÆÑÅ丮¿¡ ÀÇÇØ DOMImplementation
ÀνºÅϽº¸¦ ÃëµæÇÒ ¼ö ÀÖ½À´Ï´Ù.
·Ê:
// get an instance of the DOMImplementation registry DOMImplementationRegistry registry = DOMImplementationRegistry.newInstance(); // get a DOM implementation the Level 3 XML module DOMImplementation domImpl = registry.getDOMImplementation("XML 3.0");
À̰Ϳ¡ ÀÇÇØ ±¸Çö¿¡ Á¸ÇÏÁö ¾Ê´Â ½ÃÁ¡À» °¡Áö´Â ¾îÇø®ÄÉÀ̼ÇÀÌ Á¦°øµË´Ï´Ù. DOM ±¸ÇöÀº ÀÌ Å¬·¡½º¸¦ º¯°æÇØ »õ·Î¿î ½ÃÅ¥·¯Æ¼ ±âÁØ¿¡ ¸ÂÃ߰ųª DOMImplementationSource ¸®½ºÆ®¿¡ Æú ¹éÀ» Ãß°¡Çϰųª ÇÒ ¼ö ÀÖ½À´Ï´Ù.
DOMImplementation
,
DOMImplementationSource
ÇÊµå °³¿ä | |
---|---|
static String |
PROPERTY
DOMImplementationSource Ŭ·¡½º¸íÀ» ÁöÁ¤ÇÏ´Â ½Ã½ºÅÛ ÇÁ·ÎÆÛƼÀÔ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
void |
addSource (DOMImplementationSource s)
±¸ÇöÀ» µî·ÏÇÕ´Ï´Ù. |
DOMImplementation |
getDOMImplementation (String features)
ÇÊ¿äÇÑ ±â´ÉÀ» °¡Áö´Â ÃÖÃÊÀÇ ±¸ÇöÀ» ¸®ÅÏÇÕ´Ï´Ù. |
DOMImplementationList |
getDOMImplementationList (String features)
ÇÊ¿äÇÑ ±â´ÉÀ» Áö¿øÇÏ´Â ±¸ÇöÀÇ ¸®½ºÆ®¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
static DOMImplementationRegistry |
newInstance ()
DOMImplementationRegistry
»õ·Î¿î ÀνºÅϽº¸¦ ÃëµæÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ÇʵåÀÇ »ó¼¼ |
---|
public static final String PROPERTY
¸Þ¼µåÀÇ »ó¼¼ |
---|
public static DOMImplementationRegistry newInstance() throws ClassNotFoundException, InstantiationException, IllegalAccessException, ClassCastException
DOMImplementationRegistry
»õ·Î¿î ÀνºÅϽº¸¦ ÃëµæÇÕ´Ï´Ù.
DOMImplementationRegistry
´Â ¾îÇø®ÄÉÀÌ¼Ç ¶Ç´Â ±¸Çö¿¡ ÀÇÇØ Ãʱâȵ˴ϴÙ. ÄÁÅØ½ºÆ®¿¡ µû¶ó¼´Â ÃÖÃÊ·Î Java ½Ã½ºÅÛ ÇÁ·ÎÆÛƼ org.w3c.dom.DOMImplementationSourceList
°ªÀ» üũÇÕ´Ï´Ù. ¼ºñ½º ÇÁ·Î¹ÙÀÌ´õÀÇ ÄÁÅÙÃ÷´Â ¡¸META_INF/services/org.w3c.dom.DOMImplementationSourceList
¡¹¿¡ ÀÖ½À´Ï´Ù. ÀÌ ÇÁ·ÎÆÛƼÀÇ °ªÀº, DOMImplementationSource
ÀÎÅÍÆäÀ̽º¸¦ ±¸ÇöÇϰí ÀÖ´Â »ç¿ë °¡´ÉÇÑ Å¬·¡½º¸íÀÇ °ø¹é ¹®ÀÚ·Î ´Ü¶ôÁö¾îÁø ¸®½ºÆ®ÀÔ´Ï´Ù. ÀÌ Å¬·¡½º¸í¿¡ ±âÀçµÇ¾î ÀÖ´Â °¢ Ŭ·¡½º´Â ÀνºÅϽºÈ µÇ°í ÀÖ¾î °ËÃâµÈ ¸ðµç ¿¹¿Ü´Â ¾îÇø®ÄÉÀ̼ǿ¡ ¹ß»ý µË´Ï´Ù.
ClassNotFoundException
- ÁöÁ¤ÇÑ Å¬·¡½º°¡ ¹ß°ßµÇÁö ¾Ê´Â °æ¿ì
InstantiationException
- ÁöÁ¤µÈ Ŭ·¡½º°¡ ÀÎÅÍÆäÀ̽º ¶Ç´Â abstract Ŭ·¡½ºÀÇ °æ¿ì
IllegalAccessException
- ÁöÁ¤µÈ Ŭ·¡½ºÀÇ µðÆúÆ®ÀÇ »ý¼ºÀÚ¿¡ ¾×¼¼½º ÇÒ ¼ö ¾ø´Â °æ¿ì
ClassCastException
- ÁöÁ¤µÈ Ŭ·¡½º°¡ DOMImplementationSource
¸¦ ±¸ÇöÇϰí ÀÖÁö ¾Ê´Â °æ¿ìpublic DOMImplementation getDOMImplementation(String features)
null
ÀÌ µË´Ï´Ù.
features
- ÇÊ¿äÇÑ ±â´ÉÀ» ÁöÁ¤Çϴ ij¸¯ÅÍ ¶óÀÎ. ÀÌ Ä³¸¯ÅÍ ¶óÀÎÀº °ø¹é ¹®ÀÚ ´Ü¶ôÀÇ ¸®½ºÆ®·Î °¢ ±â´ÉÀº ¿É¼ÇÀ¸·Î¼ °ø¹é°ú ¹öÀü
¹øÈ£¿¡ °è¼ÓµÇ´Â À̸§¿¡ ÀÇÇØ ÁöÁ¤. ¿¹: XML 1.0 Traversal +Events 2.0
null
public DOMImplementationList getDOMImplementationList(String features)
features
- ÇÊ¿äÇÑ ±â´ÉÀ» ÁöÁ¤Çϴ ij¸¯ÅÍ ¶óÀÎ. ÀÌ Ä³¸¯ÅÍ ¶óÀÎÀº °ø¹é ¹®ÀÚ ´Ü¶ôÀÇ ¸®½ºÆ®·Î °¢ ±â´ÉÀº ¿É¼ÇÀ¸·Î¼ °ø¹é°ú ¹öÀü
¹øÈ£¿¡ °è¼ÓµÇ´Â À̸§¿¡ ÀÇÇØ ÁöÁ¤. ¿¹: XML 1.0 Traversal +Events 2.0
public void addSource(DOMImplementationSource s)
s
- µî·ÏµÇ´Â ¼Ò½º. null
ÀÌ¿Ü
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor¡¡ ¡¡ | ¸Þ¼µå | »ó¼¼: Çʵå | constructor¡¡ ¡¡ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.