Package org.omegat.filters3.xml
Class Entity
java.lang.Object
org.omegat.filters3.xml.Entity
Entity declaration in XML file's Document type declaration. For example,
<!ENTITY gloss SYSTEM "gloss.xml"> is external entity and
<!ENTITY % dbnotn.module "INCLUDE"> is internal one.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns entity's name.Returns entity's original name, with '%' for parameter entities.@Nullable StringReturns entity's publicId.@Nullable StringReturns entity's systemId.getType()Whether entity is internal.@Nullable StringgetValue()Returns entity's value.booleanWhether entity is a parameter entity.toString()Returns the entity as string.
-
Constructor Details
-
Method Details
-
getType
Whether entity is internal. If false, it's an external entity. -
isParameter
public boolean isParameter()Whether entity is a parameter entity. -
getName
Returns entity's name. -
getOriginalName
Returns entity's original name, with '%' for parameter entities. -
getValue
Returns entity's value. -
getPublicId
Returns entity's publicId. -
getSystemId
Returns entity's systemId. -
toString
Returns the entity as string.
-