📄 wfsxmlreader.java
字号:
/* Copyright (c) 2001 - 2007 TOPP - www.openplans.org. All rights reserved.
* This code is licensed under the GPL 2.0 license, availible at the root
* application directory.
*/
package org.geoserver.wfs.xml.v1_0_0;
import org.geoserver.ows.XmlRequestReader;
import org.geotools.util.Version;
import org.geotools.xml.Parser;
import java.io.Reader;
import javax.xml.namespace.QName;
public class WfsXmlReader extends XmlRequestReader {
/**
* Xml Configuration
*/
WFSConfiguration configuration;
public WfsXmlReader(String element, WFSConfiguration configuration) {
super(new QName(WFS.NAMESPACE, element), new Version("1.0.0"), "wfs");
this.configuration = configuration;
}
public Object read(Object request, Reader reader) throws Exception {
Parser parser = new Parser(configuration);
return parser.parse(reader);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -