public class KeyValueEntityResolver
extends java.lang.Object
implements org.xml.sax.EntityResolver
Constructor and Description |
---|
KeyValueEntityResolver(java.util.Map<java.lang.String,java.lang.String> entities) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getEntityValues() |
static org.xml.sax.EntityResolver |
newMatrixProductVersionResolver()
Creates an entity resolver for the current matrix version.
|
static org.xml.sax.EntityResolver |
newMatrixProductVersionResolver(Version version)
Create an entity resolver can resolve the ematrixProductDtd
entity.
|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId) |
public KeyValueEntityResolver(java.util.Map<java.lang.String,java.lang.String> entities)
public java.util.Map<java.lang.String,java.lang.String> getEntityValues()
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException, java.io.IOException
resolveEntity
in interface org.xml.sax.EntityResolver
org.xml.sax.SAXException
java.io.IOException
public static org.xml.sax.EntityResolver newMatrixProductVersionResolver()
EntityResolver
used for resolving current matrix
versionpublic static org.xml.sax.EntityResolver newMatrixProductVersionResolver(Version version)
version
- The version to resolve to.Copyright © Technia AB. All Rights Reserved.