public interface TransformerHandler extends ContentHandler, LexicalHandler, DTDHandler
Modifier and Type | Method and Description |
---|---|
String |
getSystemId()
让基地ID(URI或系统ID),相对URL会解决的。
|
Transformer |
getTransformer()
得到这个句柄关联的
Transformer ,以设定的参数和输出特性。
|
void |
setResult(Result result)
与此相关的设置
TransformerHandler 用于转化的
Result 。
|
void |
setSystemId(String systemID)
设置基础的ID(URI或系统ID),相对URL会解决的。
|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
notationDecl, unparsedEntityDecl
void setResult(Result result) throws IllegalArgumentException
与此相关的设置TransformerHandler
用于转化的Result
。
result
-
Result
实例,不应
null
。
IllegalArgumentException
结果无效。
void setSystemId(String systemID)
systemID
-源代码树的基URI。
String getSystemId()
setSystemId(java.lang.String)
。
Transformer getTransformer()
得到这个句柄关联的Transformer
,以设定的参数和输出特性。
Transformer
TransformerHandler
。
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.