FileDocCategorySizeDatePackage
AbstractAdapterElement.javaAPI DocExample4111Mon Jul 23 13:26:44 BST 2007org.apache.struts2.views.xslt

AbstractAdapterElement

public abstract class AbstractAdapterElement extends AbstractAdapterNode implements Element
AbstractAdapterElement extends the abstract Node type and implements the DOM Element interface.

Fields Summary
private Map
attributeAdapters
Constructors Summary
public AbstractAdapterElement()

 
Methods Summary
protected java.util.MapbuildAttributeAdapters()

        return new HashMap();
    
public java.lang.StringgetAttribute(java.lang.String string)
No attributes, return empty attributes if asked.

        return "";
    
protected java.util.MapgetAttributeAdapters()

        if ( attributeAdapters == null )
            attributeAdapters = buildAttributeAdapters();
        return attributeAdapters;
    
public java.lang.StringgetAttributeNS(java.lang.String string, java.lang.String string1)

        return null;
    
public org.w3c.dom.AttrgetAttributeNode(java.lang.String name)

        return (Attr)getAttributes().getNamedItem( name );
    
public org.w3c.dom.AttrgetAttributeNodeNS(java.lang.String string, java.lang.String string1)

        throw operationNotSupported();
    
public java.lang.StringgetNodeName()

        return getTagName();
    
public shortgetNodeType()

        return Node.ELEMENT_NODE;
    
public org.w3c.dom.TypeInfogetSchemaTypeInfo()

        throw operationNotSupported();
    
public java.lang.StringgetTagName()

        return getPropertyName();
    
public booleanhasAttribute(java.lang.String string)

        return false;
    
public booleanhasAttributeNS(java.lang.String string, java.lang.String string1)

        return false;
    
public booleanhasChildNodes()

        return getElementsByTagName("*").getLength() > 0;
    
public voidremoveAttribute(java.lang.String string)

        throw operationNotSupported();
    
public voidremoveAttributeNS(java.lang.String string, java.lang.String string1)

        throw operationNotSupported();
    
public org.w3c.dom.AttrremoveAttributeNode(org.w3c.dom.Attr attr)

        throw operationNotSupported();
    
public voidsetAttribute(java.lang.String string, java.lang.String string1)

        throw operationNotSupported();
    
public voidsetAttributeNS(java.lang.String string, java.lang.String string1, java.lang.String string2)

        throw operationNotSupported();
    
public org.w3c.dom.AttrsetAttributeNode(org.w3c.dom.Attr attr)

        throw operationNotSupported();
    
public org.w3c.dom.AttrsetAttributeNodeNS(org.w3c.dom.Attr attr)

        throw operationNotSupported();
    
public voidsetIdAttribute(java.lang.String string, boolean b)

        throw operationNotSupported();
    
public voidsetIdAttributeNS(java.lang.String string, java.lang.String string1, boolean b)

        throw operationNotSupported();
    
public voidsetIdAttributeNode(org.w3c.dom.Attr attr, boolean b)

        throw operationNotSupported();