public abstract class Entity extends Object implements Elemental
Modifier and Type | Field and Description |
---|---|
protected ErrorReceiver |
errorReceiver |
Modifier and Type | Method and Description |
---|---|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementName
protected ErrorReceiver errorReceiver
public Entity(Locator locator)
public void setErrorReceiver(ErrorReceiver errorReceiver)
public Locator getLocator()
getLocator
in interface Elemental
public void removeProperty(String key)
public void withAllSubEntitiesDo(EntityAction action)
public void withAllQNamesDo(QNameAction action)
public void withAllEntityReferencesDo(EntityReferenceAction action)
public abstract void validateThis()
protected void failValidation(String key)
Copyright © 2017 Oracle Corporation. All rights reserved.