com.smallx.xml.infoset
Interface Named

All Known Subinterfaces:
Attribute, Element, ElementEnd, ProcessingInstruction
All Known Implementing Classes:
MemoryAttribute, MemoryElement, MemoryElementEnd, MemoryProcessingInstruction

public interface Named

This interface represents something that is named.


Method Summary
 Name getName()
          Return the name of the object.
 void setName(Name name)
          Sets the name of the object.
 void setName(java.lang.String localName)
          Sets the name of the object.
 void setName(java.net.URI namespaceName, java.lang.String localName)
          Sets the name of the object.
 

Method Detail

getName

public Name getName()
Return the name of the object.


setName

public void setName(Name name)
Sets the name of the object.

Parameters:
name - The name to set.

setName

public void setName(java.lang.String localName)
Sets the name of the object.

Parameters:
localName - The local name to use and the namespace name is assumed to be URI.NO_NAMESPACE

setName

public void setName(java.net.URI namespaceName,
                    java.lang.String localName)
Sets the name of the object.

Parameters:
namespaceName - The namespace name to use.
localName - The local name to use.