SchemaContentHandler.java revision 286
286N/A private boolean fNeedPushNSContext;
286N/A private boolean fNamespacePrefixes = false;
286N/A private boolean fStringsInternalized = false;
286N/A public SchemaContentHandler() {}
286N/A fNeedPushNSContext = true;
286N/A catch (XMLParseException e) {
286N/A catch (XNIException e) {
286N/A catch (XMLParseException e) {
286N/A catch (XNIException e) {
286N/A if (fNeedPushNSContext) {
286N/A fNeedPushNSContext = false;
286N/A if (!fStringsInternalized) {
286N/A * @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
286N/A public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException {
286N/A if (fNeedPushNSContext) {
286N/A fNeedPushNSContext = true;
286N/A if (!fNamespacePrefixes) {
286N/A catch (XMLParseException e) {
286N/A catch (XNIException e) {
286N/A * @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String, java.lang.String)
286N/A catch (XMLParseException e) {
286N/A catch (XNIException e) {
286N/A catch (XMLParseException e) {
286N/A catch (XNIException e) {
286N/A catch (XMLParseException e) {
286N/A catch (XNIException e) {
286N/A catch (XMLParseException e) {
286N/A catch (XNIException e) {
286N/A if (!fStringsInternalized) {
286N/A localpart = (localpart != null) ? fSymbolTable.addSymbol(localpart) : XMLSymbols.EMPTY_STRING;
286N/A fAttributes.addAttributeNS(fAttributeQName, (type != null) ? type : XMLSymbols.fCDATASymbol, atts.getValue(i));