public interface TemplatesHandler extends ContentHandler
请注意,TemplatesHandler不需要实现LexicalHandler。
| Modifier and Type | Method and Description | 
|---|---|
| String | getSystemId()
              获取从其中相对URL被解析的基本ID(URI或系统ID)。 
             | 
| Templates | getTemplates()
              当将TemplatesHandler对象用作解析转换指令的ContentHandler时,它将创建一个Templates对象,一旦SAX事件完成,调用者就可以获取该对象。 
             | 
| void | setSystemId(String systemID)
              设置由此构建器创建的Templates对象的基本ID(URI或系统ID)。 
             | 
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMappingTemplates getTemplates()
void setSystemId(String systemID)
systemID - 此样式表的基本URI。 
           String getSystemId()
setSystemId(java.lang.String) 。 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.