WebObjects 5.4.2

com.webobjects.appserver.parser.woml
Class WOMLElement

java.lang.Object
  extended by com.webobjects.appserver.parser.woml.WOMLNamespaced
      extended by com.webobjects.appserver.parser.woml.WOMLElement

public class WOMLElement
extends WOMLNamespaced

Since:
5.4

Constructor Summary
WOMLElement(String containerReferenceName, WOMLElement parent, Map uriToNamespace, String uri, String localName, String qName, List attributeList, WOAssociationFactory associationFactory)
           
 
Method Summary
 WOMLAttributeMap getAttributes()
           
 String getContainerReferenceName()
          Returns the reference name of the container of this element.
 WOMLElement getParent()
           
 Map getProperties()
           
 Object getProperty(String name)
           
 boolean hasDynamicAttributes()
           
 boolean hasNamespaces()
           
 void removeProperty(String name)
           
 void setProperty(String name, Object value)
           
 String toString()
           
 
Methods inherited from class com.webobjects.appserver.parser.woml.WOMLNamespaced
getName, getNamespace, getQName, hasNamespace, isNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WOMLElement

public WOMLElement(String containerReferenceName,
                   WOMLElement parent,
                   Map uriToNamespace,
                   String uri,
                   String localName,
                   String qName,
                   List attributeList,
                   WOAssociationFactory associationFactory)
Parameters:
parent -
uriToNamespace -
uri -
localName -
qName -
attributeList -
associationFactory -
Since:
5.4
Method Detail

getContainerReferenceName

public String getContainerReferenceName()
Returns the reference name of the container of this element. This is usually the file name of the parsed file.

Returns:
String
Since:
5.4

getParent

public WOMLElement getParent()
Returns:
WOMLElement
Since:
5.4

hasNamespaces

public boolean hasNamespaces()
Returns:
true of has namespaces
Since:
5.4

hasDynamicAttributes

public boolean hasDynamicAttributes()
Returns:
true if dynamic attributes present
Since:
5.4

getAttributes

public WOMLAttributeMap getAttributes()
Returns:
WOMLAttributeMap
Since:
5.4

getProperties

public Map getProperties()
Returns:
Map pf properties
Since:
5.4

getProperty

public Object getProperty(String name)
Parameters:
name - of property
Returns:
value for property 'name'
Since:
5.4

setProperty

public void setProperty(String name,
                        Object value)
Parameters:
name - of property
value - of property to set
Since:
5.4

removeProperty

public void removeProperty(String name)
Parameters:
name - of property
Since:
5.4

toString

public String toString()
Overrides:
toString in class Object

Last updated June 2008

Copyright © 2000-2008 Apple Inc.