⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xmlnode.java

📁 将Excel和Word的类型库都转换过来了
💻 JAVA
字号:
/** * JacobGen generated file --- do not edit * * (http://www.bigatti.it/projects/jacobgen) */package org.nethawker.word11;import com.jacob.com.*;public class XMLNode extends Dispatch {	public static final String componentName = "Word.XMLNode";	public XMLNode() {		super(componentName);	}	/**	* This constructor is used instead of a case operation to	* turn a Dispatch object into a wider object - it must exist	* in every wrapper class whose instances may be returned from	* method calls wrapped in VT_DISPATCH Variants.	*/	public XMLNode(Dispatch d) {		// take over the IDispatch pointer		m_pDispatch = d.m_pDispatch;		// null out the input's pointer		d.m_pDispatch = 0;	}	public XMLNode(String compName) {		super(compName);	}	public String getBaseName() {		return Dispatch.get(this, "BaseName").toString();	}	public Application getApplication() {		return new Application(Dispatch.get(this, "Application").toDispatch());	}	public int getCreator() {		return Dispatch.get(this, "Creator").toInt();	}	public Object getParent() {		return Dispatch.get(this, "Parent");	}	public Range getRange() {		return new Range(Dispatch.get(this, "Range").toDispatch());	}	public String getText() {		return Dispatch.get(this, "Text").toString();	}	public void setText(String lastParam) {		Dispatch.put(this, "Text", lastParam);	}	public String getNamespaceURI() {		return Dispatch.get(this, "NamespaceURI").toString();	}	public String getXML(boolean lastParam) {		return Dispatch.call(this, "XML", new Variant(lastParam)).toString();	}	public String getXML() {		return Dispatch.get(this, "XML").toString();	}	public XMLNode getNextSibling() {		return new XMLNode(Dispatch.get(this, "NextSibling").toDispatch());	}	public XMLNode getPreviousSibling() {		return new XMLNode(Dispatch.get(this, "PreviousSibling").toDispatch());	}	public XMLNode getParentNode() {		return new XMLNode(Dispatch.get(this, "ParentNode").toDispatch());	}	public XMLNode getFirstChild() {		return new XMLNode(Dispatch.get(this, "FirstChild").toDispatch());	}	public XMLNode getLastChild() {		return new XMLNode(Dispatch.get(this, "LastChild").toDispatch());	}	public Document getOwnerDocument() {		return new Document(Dispatch.get(this, "OwnerDocument").toDispatch());	}	public int getNodeType() {		return Dispatch.get(this, "NodeType").toInt();	}	public XMLNodes getChildNodes() {		return new XMLNodes(Dispatch.get(this, "ChildNodes").toDispatch());	}	public XMLNodes getAttributes() {		return new XMLNodes(Dispatch.get(this, "Attributes").toDispatch());	}	public String getNodeValue() {		return Dispatch.get(this, "NodeValue").toString();	}	public void setNodeValue(String lastParam) {		Dispatch.put(this, "NodeValue", lastParam);	}	public boolean getHasChildNodes() {		return Dispatch.get(this, "HasChildNodes").toBoolean();	}	public XMLNode selectSingleNode(String xPath, String prefixMapping, boolean lastParam) {		return new XMLNode(Dispatch.call(this, "SelectSingleNode", xPath, prefixMapping, new Variant(lastParam)).toDispatch());	}	public XMLNode selectSingleNode(String xPath, String prefixMapping) {		return new XMLNode(Dispatch.call(this, "SelectSingleNode", xPath, prefixMapping).toDispatch());	}	public XMLNode selectSingleNode(String xPath) {		return new XMLNode(Dispatch.call(this, "SelectSingleNode", xPath).toDispatch());	}	public XMLNodes selectNodes(String xPath, String prefixMapping, boolean lastParam) {		return new XMLNodes(Dispatch.call(this, "SelectNodes", xPath, prefixMapping, new Variant(lastParam)).toDispatch());	}	public XMLNodes selectNodes(String xPath, String prefixMapping) {		return new XMLNodes(Dispatch.call(this, "SelectNodes", xPath, prefixMapping).toDispatch());	}	public XMLNodes selectNodes(String xPath) {		return new XMLNodes(Dispatch.call(this, "SelectNodes", xPath).toDispatch());	}	public XMLChildNodeSuggestions getChildNodeSuggestions() {		return new XMLChildNodeSuggestions(Dispatch.get(this, "ChildNodeSuggestions").toDispatch());	}	public int getLevel() {		return Dispatch.get(this, "Level").toInt();	}	public int getValidationStatus() {		return Dispatch.get(this, "ValidationStatus").toInt();	}	public SmartTag getSmartTag() {		return new SmartTag(Dispatch.get(this, "SmartTag").toDispatch());	}	public String getValidationErrorText(boolean lastParam) {		return Dispatch.call(this, "ValidationErrorText", new Variant(lastParam)).toString();	}	public String getValidationErrorText() {		return Dispatch.get(this, "ValidationErrorText").toString();	}	public String getPlaceholderText() {		return Dispatch.get(this, "PlaceholderText").toString();	}	public void setPlaceholderText(String lastParam) {		Dispatch.put(this, "PlaceholderText", lastParam);	}	public void delete() {		Dispatch.call(this, "Delete");	}	public void copy() {		Dispatch.call(this, "Copy");	}	public void removeChild(XMLNode lastParam) {		Dispatch.call(this, "RemoveChild", lastParam);	}	public void cut() {		Dispatch.call(this, "Cut");	}	public void validate() {		Dispatch.call(this, "Validate");	}	public void setValidationError(int status, Variant errorText, boolean lastParam) {		Dispatch.call(this, "SetValidationError", new Variant(status), errorText, new Variant(lastParam));	}	public void setValidationError(int status, Variant errorText) {		Dispatch.call(this, "SetValidationError", new Variant(status), errorText);	}	public void setValidationError(int status) {		Dispatch.call(this, "SetValidationError", new Variant(status));	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -