org.apache.xerces.dom3.as

Interface ASEntityDeclaration

All Superinterfaces:
ASObject

public interface ASEntityDeclaration
extends ASObject

Field Summary

static short
EXTERNAL_ENTITY
constant defining an external entity.
static short
INTERNAL_ENTITY
constant defining an internal entity.

Fields inherited from interface org.apache.xerces.dom3.as.ASObject

AS_ATTRIBUTE_DECLARATION, AS_CONTENTMODEL, AS_ELEMENT_DECLARATION, AS_ENTITY_DECLARATION, AS_MODEL, AS_NOTATION_DECLARATION

Method Summary

short
getEntityType()
The type of the entity as defined above.
String
getEntityValue()
The replacement text for the internal entity.
String
getPublicId()
The string representing the public identifier for this notation declaration, if present; null otherwise.
String
getSystemId()
the URI reference representing the system identifier for the notation declaration, if present, null otherwise.
void
setEntityType(short entityType)
The type of the entity as defined above.
void
setEntityValue(String entityValue)
The replacement text for the internal entity.
void
setPublicId(String publicId)
The string representing the public identifier for this notation declaration, if present; null otherwise.
void
setSystemId(String systemId)
the URI reference representing the system identifier for the notation declaration, if present, null otherwise.

Methods inherited from interface org.apache.xerces.dom3.as.ASObject

cloneASObject, getAsNodeType, getLocalName, getNamespaceURI, getNodeName, getOwnerASModel, getPrefix, setLocalName, setNamespaceURI, setNodeName, setOwnerASModel, setPrefix

Field Details

EXTERNAL_ENTITY

public static final short EXTERNAL_ENTITY
constant defining an external entity.
Field Value:
2

INTERNAL_ENTITY

public static final short INTERNAL_ENTITY
constant defining an internal entity.
Field Value:
1

Method Details

getEntityType

public short getEntityType()
The type of the entity as defined above.

getEntityValue

public String getEntityValue()
The replacement text for the internal entity. The entity references within the replacement text are kept intact. For an entity of type EXTERNAL_ENTITY, this is null.

getPublicId

public String getPublicId()
The string representing the public identifier for this notation declaration, if present; null otherwise.

getSystemId

public String getSystemId()
the URI reference representing the system identifier for the notation declaration, if present, null otherwise.

setEntityType

public void setEntityType(short entityType)
The type of the entity as defined above.

setEntityValue

public void setEntityValue(String entityValue)
The replacement text for the internal entity. The entity references within the replacement text are kept intact. For an entity of type EXTERNAL_ENTITY, this is null.

setPublicId

public void setPublicId(String publicId)
The string representing the public identifier for this notation declaration, if present; null otherwise.

setSystemId

public void setSystemId(String systemId)
the URI reference representing the system identifier for the notation declaration, if present, null otherwise.

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.