public class Entity
extends java.lang.Object
<!ENTITY gloss SYSTEM "gloss.xml">
is external entity and
<!ENTITY % dbnotn.module "INCLUDE">
is internal one.Constructor and Description |
---|
Entity(java.lang.String name)
Creates entity reference.
|
Entity(java.lang.String name,
java.lang.String value)
Creates internal entity.
|
Entity(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId)
Creates external entity.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns entity's name.
|
java.lang.String |
getOriginalName()
Returns entity's original name, with '%' for parameter entities.
|
java.lang.String |
getPublicId()
Returns entity's publicId.
|
java.lang.String |
getSystemId()
Returns entity's systemId.
|
org.omegat.filters3.xml.Entity.Type |
getType()
Whether entity is internal.
|
java.lang.String |
getValue()
Returns entity's value.
|
boolean |
isParameter()
Whether entity is a parameter entity.
|
java.lang.String |
toString()
Returns the entity as string.
|
public Entity(java.lang.String name, java.lang.String value)
public Entity(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
public Entity(java.lang.String name)
public org.omegat.filters3.xml.Entity.Type getType()
public boolean isParameter()
public java.lang.String getName()
public java.lang.String getOriginalName()
public java.lang.String getValue()
public java.lang.String getPublicId()
public java.lang.String getSystemId()
public java.lang.String toString()
toString
in class java.lang.Object