com.sun.tools.ws.wsdl.framework
Class Entity

java.lang.Object
  extended by com.sun.tools.ws.wsdl.framework.Entity
All Implemented Interfaces:
Elemental
Direct Known Subclasses:
BindingFault, BindingInput, BindingOperation, BindingOutput, Definitions, ExtensionImpl, Fault, GlobalEntity, Import, Input, MessagePart, Operation, Output, Types

public abstract class Entity
extends Object
implements Elemental

An entity, typically corresponding to an XML element.


Field Summary
protected  ErrorReceiver errorReceiver
           
 
Constructor Summary
Entity(Locator locator)
           
 
Method Summary
protected  void failValidation(String key)
           
protected  void failValidation(String key, String arg)
           
 Locator getLocator()
           
 Object getProperty(String key)
           
 void removeProperty(String key)
           
 void setErrorReceiver(ErrorReceiver errorReceiver)
           
 void setProperty(String key, Object value)
           
abstract  void validateThis()
           
 void withAllEntityReferencesDo(EntityReferenceAction action)
           
 void withAllQNamesDo(QNameAction action)
           
 void withAllSubEntitiesDo(EntityAction action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.tools.ws.wsdl.framework.Elemental
getElementName
 

Field Detail

errorReceiver

protected ErrorReceiver errorReceiver
Constructor Detail

Entity

public Entity(Locator locator)
Method Detail

setErrorReceiver

public void setErrorReceiver(ErrorReceiver errorReceiver)

getLocator

public Locator getLocator()
Specified by:
getLocator in interface Elemental

getProperty

public Object getProperty(String key)

setProperty

public void setProperty(String key,
                        Object value)

removeProperty

public void removeProperty(String key)

withAllSubEntitiesDo

public void withAllSubEntitiesDo(EntityAction action)

withAllQNamesDo

public void withAllQNamesDo(QNameAction action)

withAllEntityReferencesDo

public void withAllEntityReferencesDo(EntityReferenceAction action)

validateThis

public abstract void validateThis()

failValidation

protected void failValidation(String key)

failValidation

protected void failValidation(String key,
                              String arg)