public static DTDId constructFromSystemId(URI systemId, int configFlags, boolean xml11) { if (systemId == null) { throw new IllegalArgumentException("Null system id."); } return new DTDId(null, systemId, configFlags, xml11); }
return DTDId.construct(pubId, sysRef, significantFlags, mXml11); return DTDId.constructFromSystemId(sysRef, significantFlags, mXml11);
protected DTDId constructDtdId(URI sysId) throws IOException { int significantFlags = mConfigFlags & (CFG_NAMESPACE_AWARE /* Let's optimize non-validating case; DTD info we need * is less if so (no need to store content specs for one) */ | CFG_VALIDATE_AGAINST_DTD /* Also, whether we support dtd++ or not may change construction * of settings... (currently does not, but could) */ | CFG_SUPPORT_DTDPP ); return DTDId.constructFromSystemId(sysId, significantFlags, mXml11); }
protected DTDId constructDtdId(URI sysId) throws IOException { int significantFlags = mConfigFlags & (CFG_NAMESPACE_AWARE /* Let's optimize non-validating case; DTD info we need * is less if so (no need to store content specs for one) */ | CFG_VALIDATE_AGAINST_DTD /* Also, whether we support dtd++ or not may change construction * of settings... (currently does not, but could) */ | CFG_SUPPORT_DTDPP ); return DTDId.constructFromSystemId(sysId, significantFlags, mXml11); }
return DTDId.construct(pubId, sysRef, significantFlags, mXml11); return DTDId.constructFromSystemId(sysRef, significantFlags, mXml11);
public static DTDId construct(String publicId, URI systemId, int configFlags, boolean xml11) { if (publicId != null && publicId.length() > 0) { return new DTDId(publicId, null, configFlags, xml11); } if (systemId == null) { throw new IllegalArgumentException("Illegal arguments; both public and system id null/empty."); } return new DTDId(null, systemId, configFlags, xml11); }
protected DTDId constructDtdId(URI sysId) throws IOException { int significantFlags = mConfigFlags & (CFG_NAMESPACE_AWARE /* Let's optimize non-validating case; DTD info we need * is less if so (no need to store content specs for one) */ | CFG_VALIDATE_AGAINST_DTD /* Also, whether we support dtd++ or not may change construction * of settings... (currently does not, but could) */ | CFG_SUPPORT_DTDPP ); return DTDId.constructFromSystemId(sysId, significantFlags, mXml11); }
return DTDId.construct(pubId, sysRef, significantFlags, mXml11); return DTDId.constructFromSystemId(sysRef, significantFlags, mXml11);
public static DTDId constructFromPublicId(String publicId, int configFlags, boolean xml11) { if (publicId == null || publicId.length() == 0) { throw new IllegalArgumentException("Empty/null public id."); } return new DTDId(publicId, null, configFlags, xml11); }
protected DTDId constructDtdId(URI sysId) throws IOException { int significantFlags = mConfigFlags & (CFG_NAMESPACE_AWARE /* Let's optimize non-validating case; DTD info we need * is less if so (no need to store content specs for one) */ | CFG_VALIDATE_AGAINST_DTD /* Also, whether we support dtd++ or not may change construction * of settings... (currently does not, but could) */ | CFG_SUPPORT_DTDPP ); return DTDId.constructFromSystemId(sysId, significantFlags, mXml11); }
return DTDId.construct(pubId, sysRef, significantFlags, mXml11); return DTDId.constructFromSystemId(sysRef, significantFlags, mXml11);
public static DTDId constructFromSystemId(URI systemId, int configFlags, boolean xml11) { if (systemId == null) { throw new IllegalArgumentException("Null system id."); } return new DTDId(null, systemId, configFlags, xml11); }
protected DTDId constructDtdId(URI sysId) throws IOException { int significantFlags = mConfigFlags & (CFG_NAMESPACE_AWARE /* Let's optimize non-validating case; DTD info we need * is less if so (no need to store content specs for one) */ | CFG_VALIDATE_AGAINST_DTD /* Also, whether we support dtd++ or not may change construction * of settings... (currently does not, but could) */ | CFG_SUPPORT_DTDPP ); return DTDId.constructFromSystemId(sysId, significantFlags, mXml11); }
return DTDId.construct(pubId, sysRef, significantFlags, mXml11); return DTDId.constructFromSystemId(sysRef, significantFlags, mXml11);
public static DTDId constructFromSystemId(URL systemId, int configFlags, boolean xml11) { if (systemId == null) { throw new IllegalArgumentException("Null system id."); } return new DTDId(null, systemId, configFlags, xml11); }
protected DTDId constructDtdId(URL sysId) throws IOException { int significantFlags = mConfigFlags & (CFG_NAMESPACE_AWARE | CFG_NORMALIZE_LFS | CFG_NORMALIZE_ATTR_VALUES /* Let's optimize non-validating case; DTD info we need * is less if so (no need to store content specs for one) */ | CFG_VALIDATE_AGAINST_DTD /* Also, whether we support dtd++ or not may change construction * of settings... (currently does not, but could) */ | CFG_SUPPORT_DTDPP ); return DTDId.constructFromSystemId(sysId, significantFlags, mXml11); }
return DTDId.construct(pubId, sysRef, significantFlags, mXml11); return DTDId.constructFromSystemId(sysRef, significantFlags, mXml11);
public static DTDId constructFromSystemId(URI systemId, int configFlags, boolean xml11) { if (systemId == null) { throw new IllegalArgumentException("Null system id."); } return new DTDId(null, systemId, configFlags, xml11); }
protected DTDId constructDtdId(URL sysId) throws IOException { int significantFlags = mConfigFlags & (CFG_NAMESPACE_AWARE | CFG_NORMALIZE_LFS | CFG_NORMALIZE_ATTR_VALUES /* Let's optimize non-validating case; DTD info we need * is less if so (no need to store content specs for one) */ | CFG_VALIDATE_AGAINST_DTD /* Also, whether we support dtd++ or not may change construction * of settings... (currently does not, but could) */ | CFG_SUPPORT_DTDPP ); return DTDId.constructFromSystemId(sysId, significantFlags, mXml11); }
return DTDId.construct(pubId, sysRef, significantFlags, mXml11); return DTDId.constructFromSystemId(sysRef, significantFlags, mXml11);