Top Fields Methods
org.apache.xerces.dom3.as

public Interface ASEntityDeclaration

extends ASObject

Deprecated

Models a general entity declaration in an abstract schema. The abstract schema does not handle any parameter entity. It is assumed that the parameter entities are expanded by the implementation as the abstract schema is built.

See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.

Field Summary

Modifier and TypeField and Description
public static final short
EXTERNAL_ENTITY

constant defining an external entity.

public static final short
INTERNAL_ENTITY

constant defining an internal entity.

Inherited from org.apache.xerces.dom3.as.ASObject:
AS_ATTRIBUTE_DECLARATIONAS_CONTENTMODELAS_ELEMENT_DECLARATIONAS_ENTITY_DECLARATIONAS_MODELAS_NOTATION_DECLARATION

Method Summary

Modifier and TypeMethod and Description
public short
getEntityType()

The type of the entity as defined above.

public String
getEntityValue()

The replacement text for the internal entity.

public String
getPublicId()

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

public String
getSystemId()

the URI reference representing the system identifier for the notation declaration, if present, null otherwise.

public void
setEntityType(short entityType)

The type of the entity as defined above.

public void
setEntityValue(String entityValue)

The replacement text for the internal entity.

public void
setPublicId(String publicId)

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

public void
setSystemId(String systemId)

the URI reference representing the system identifier for the notation declaration, if present, null otherwise.

Inherited from org.apache.xerces.dom3.as.ASObject:
cloneASObjectgetAsNodeTypegetLocalNamegetNamespaceURIgetNodeNamegetOwnerASModelgetPrefixsetLocalNamesetNamespaceURIsetNodeNamesetOwnerASModelsetPrefix

Field Detail

EXTERNAL_ENTITYback to summary
public static final short EXTERNAL_ENTITY

constant defining an external entity.

INTERNAL_ENTITYback to summary
public static final short INTERNAL_ENTITY

constant defining an internal entity.

Method Detail

getEntityTypeback to summary
public short getEntityType()

The type of the entity as defined above.

getEntityValueback to summary
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.

getPublicIdback to summary
public String getPublicId()

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

getSystemIdback to summary
public String getSystemId()

the URI reference representing the system identifier for the notation declaration, if present, null otherwise.

setEntityTypeback to summary
public void setEntityType(short entityType)

The type of the entity as defined above.

setEntityValueback to summary
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.

setPublicIdback to summary
public void setPublicId(String publicId)

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

setSystemIdback to summary
public void setSystemId(String systemId)

the URI reference representing the system identifier for the notation declaration, if present, null otherwise.