📄 xmltransformerfactory.java
字号:
package net.betterjava.sample.xml.bind;
import java.io.FileNotFoundException;
import net.betterjava.sample.xml.bind.builder.XMLTransformerFactoryImpl;
/**
* Defines a factory API that enables applications to obtain a transformer that
* produces xml from bl data.
*/
public abstract class XMLTransformerFactory {
/**
* @roseuid 3CE400F0008D
*/
protected XMLTransformerFactory() {
}
/**
* Creates a new instance of a XMLTransformer using the currently configured
* parameters.
*/
public abstract XMLTransformer newXMLTransformer() throws FileNotFoundException;
/**
* Obtain a new instance of a XMLTransformerFactory. This static method creates
* a new factory instance.
*/
public static XMLTransformerFactory newInstance() {
return new XMLTransformerFactoryImpl();
}
/**
* Allows the application to set specific attributes on the underlying
* implementation.
*/
public abstract Void setAttribute(MappingRulesConstants key, Object value)
throws IllegalArgumentException;
/**
* Allows the application to set specific attributes on the underlying
* implementation.
*/
public abstract Void setAttribute(String key, Object value)
throws IllegalArgumentException;
/**
* set the path of schema
*/
public abstract void setSchemaPath(java.lang.String newSchemaPath);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -