public interface TransformerHandler extends ContentHandler, LexicalHandler, DTDHandler
Modifier and Type | Method and Description |
---|---|
String |
getSystemId()
获取从其中相对URL被解析的基本ID(URI或系统ID)。
|
Transformer |
getTransformer()
获取与此处理程序
Transformer Transformer,这是为了设置参数和输出属性所必需的。
|
void |
setResult(Result result)
设置
Result 与此相关
TransformerHandler 用于转化。
|
void |
setSystemId(String systemID)
设置相对URL将被解析的基本ID(URI或系统ID)。
|
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
设置Result
与此相关TransformerHandler
用于转化。
result
- A
Result
实例,不应该是
null
。
IllegalArgumentException
- 如果结果因某些原因无效。
void setSystemId(String systemID)
systemID
- 源代码树的基本URI。
String getSystemId()
setSystemId(java.lang.String)
。
Transformer getTransformer()
获取与此处理程序Transformer
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.