/** * Constructs a new parser with the specified encoding. */ /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, boolean processNamespaces, String publicId, String systemId) { this.publicId = publicId; this.systemId = systemId; this.xmlReader = xmlReader; /* * TODO: Let Expat try to guess the encoding instead of defaulting. * Unfortunately, I don't know how to tell which encoding Expat picked, * so I won't know how to encode "<externalEntity>" below. The solution * I think is to fix Expat to not require the "<externalEntity>" * workaround. */ this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; this.pointer = initialize( this.encoding, processNamespaces ); }
/** * Constructs a new parser with the specified encoding. */ /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, boolean processNamespaces, String publicId, String systemId) { this.publicId = publicId; this.systemId = systemId; this.xmlReader = xmlReader; /* * TODO: Let Expat try to guess the encoding instead of defaulting. * Unfortunately, I don't know how to tell which encoding Expat picked, * so I won't know how to encode "<externalEntity>" below. The solution * I think is to fix Expat to not require the "<externalEntity>" * workaround. */ this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; this.pointer = initialize( this.encoding, processNamespaces ); }
/** * Constructs a new parser with the specified encoding. */ /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, boolean processNamespaces, String publicId, String systemId) { this.publicId = publicId; this.systemId = systemId; this.xmlReader = xmlReader; /* * TODO: Let Expat try to guess the encoding instead of defaulting. * Unfortunately, I don't know how to tell which encoding Expat picked, * so I won't know how to encode "<externalEntity>" below. The solution * I think is to fix Expat to not require the "<externalEntity>" * workaround. */ this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; this.pointer = initialize( this.encoding, processNamespaces ); }
/** * Constructs a new parser with the specified encoding. */ /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, boolean processNamespaces, String publicId, String systemId) { this.publicId = publicId; this.systemId = systemId; this.xmlReader = xmlReader; /* * TODO: Let Expat try to guess the encoding instead of defaulting. * Unfortunately, I don't know how to tell which encoding Expat picked, * so I won't know how to encode "<externalEntity>" below. The solution * I think is to fix Expat to not require the "<externalEntity>" * workaround. */ this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; this.pointer = initialize( this.encoding, processNamespaces ); }
/** * Constructs a new parser with the specified encoding. */ /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, boolean processNamespaces, String publicId, String systemId) { this.publicId = publicId; this.systemId = systemId; this.xmlReader = xmlReader; /* * TODO: Let Expat try to guess the encoding instead of defaulting. * Unfortunately, I don't know how to tell which encoding Expat picked, * so I won't know how to encode "<externalEntity>" below. The solution * I think is to fix Expat to not require the "<externalEntity>" * workaround. */ this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; this.pointer = initialize( this.encoding, processNamespaces ); }
/** * Constructs a new parser with the specified encoding. */ /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, boolean processNamespaces, String publicId, String systemId) { this.publicId = publicId; this.systemId = systemId; this.xmlReader = xmlReader; /* * TODO: Let Expat try to guess the encoding instead of defaulting. * Unfortunately, I don't know how to tell which encoding Expat picked, * so I won't know how to encode "<externalEntity>" below. The solution * I think is to fix Expat to not require the "<externalEntity>" * workaround. */ this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; this.pointer = initialize( this.encoding, processNamespaces ); }
/** * Constructs a new parser with the specified encoding. */ /*package*/ ExpatParser(String encoding, ExpatReader xmlReader, boolean processNamespaces, String publicId, String systemId) { this.publicId = publicId; this.systemId = systemId; this.xmlReader = xmlReader; /* * TODO: Let Expat try to guess the encoding instead of defaulting. * Unfortunately, I don't know how to tell which encoding Expat picked, * so I won't know how to encode "<externalEntity>" below. The solution * I think is to fix Expat to not require the "<externalEntity>" * workaround. */ this.encoding = encoding == null ? DEFAULT_ENCODING : encoding; this.pointer = initialize( this.encoding, processNamespaces ); }