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

📄 abstractadapterelement.java

📁 struts 2 核心包 的源码 有错误是难免的
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   AbstractAdapterElement.java

package org.apache.struts2.views.xslt;

import java.util.HashMap;
import java.util.Map;
import org.w3c.dom.*;

// Referenced classes of package org.apache.struts2.views.xslt:
//			AbstractAdapterNode

public abstract class AbstractAdapterElement extends AbstractAdapterNode
	implements Element
{

	private Map attributeAdapters;

	public AbstractAdapterElement()
	{
	}

	public void setAttribute(String string, String string1)
		throws DOMException
	{
		throw operationNotSupported();
	}

	protected Map getAttributeAdapters()
	{
		if (attributeAdapters == null)
			attributeAdapters = buildAttributeAdapters();
		return attributeAdapters;
	}

	protected Map buildAttributeAdapters()
	{
		return new HashMap();
	}

	public String getAttribute(String string)
	{
		return "";
	}

	public void setAttributeNS(String string, String string1, String string2)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public String getAttributeNS(String string, String string1)
	{
		return null;
	}

	public Attr setAttributeNode(Attr attr)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public Attr getAttributeNode(String name)
	{
		return (Attr)getAttributes().getNamedItem(name);
	}

	public Attr setAttributeNodeNS(Attr attr)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public Attr getAttributeNodeNS(String string, String string1)
	{
		throw operationNotSupported();
	}

	public String getNodeName()
	{
		return getTagName();
	}

	public short getNodeType()
	{
		return 1;
	}

	public String getTagName()
	{
		return getPropertyName();
	}

	public boolean hasAttribute(String string)
	{
		return false;
	}

	public boolean hasAttributeNS(String string, String string1)
	{
		return false;
	}

	public boolean hasChildNodes()
	{
		return getElementsByTagName("*").getLength() > 0;
	}

	public void removeAttribute(String string)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public void removeAttributeNS(String string, String string1)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public Attr removeAttributeNode(Attr attr)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public void setIdAttributeNode(Attr attr, boolean b)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public TypeInfo getSchemaTypeInfo()
	{
		throw operationNotSupported();
	}

	public void setIdAttribute(String string, boolean b)
		throws DOMException
	{
		throw operationNotSupported();
	}

	public void setIdAttributeNS(String string, String string1, boolean b)
		throws DOMException
	{
		throw operationNotSupported();
	}
}

⌨️ 快捷键说明

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