Lines Matching refs:to

14  * Unless required by applicable law or agreed to in writing, software
67 * This class has been modified as per the new design which is more suited to
69 * the code has been added to support stax functionality/features.
173 * For DOM/SAX, the secure feature is set to true by default
298 //xxx do we need to create an extra XMLString object... look for using fTempString for collecting all the data values
362 /** Making the buffer accesible to derived class -- String buffer. */
365 /** Making the buffer accesible to derived class -- String buffer. */
369 /** Making the buffer accesible to derived class -- stores PI data */
392 //create a elemnet array of length equal to ELEMENT_ARRAY_LENGTH
397 //2D array to store pointer info
435 * completely, pushing all events to the registered
439 * permitted to completely scan a document if it does
442 * @return True if there is more to scan, false otherwise.
455 //fDocumentHandler.startDocument(fEntityManager.getEntityScanner(),fEntityManager.getEntityScanner().getVersion(),fNamespaceContext,null);// not able to get
465 //check if getCharacterData() is the right function to retrieve ignorableWhitespace information.
482 //therefore we don't need to take care of anything here. So Just break;
597 // it would be good to define feature for this case
653 //if fIsCoalesce is set to true, set the value of fReplaceEntityReferences to true,
654 //if fIsCoalesce is set to false, take the value of fReplaceEntityReferences as set by application
657 //we dont need to do this -- nb.
776 * component does not want to report a default value for this
794 * component does not want to report a default value for this
848 * @throws XNIException Thrown by handler to signal an error.
888 * @throws XNIException Thrown by handler to signal an error.
945 * @param scanningTextDecl True if a text declaration is to
964 ///xxx see where its used.. this is not used anywhere. it may be useful for entity to store this information
1009 * Scans a processing data. This is needed to handle the situation
1014 * @param data The XMLStringBuffer to fill in with the data
1072 //since its guaranteed to have same object id for same string.
1177 //reset it back to zero... we haven't got the correct subset yet.
1184 //fallback to tolerant algorithm, it would look for differnt element stored at different
1253 System.out.println("Trying to skip String = " + name.rawname);
1266 //if skipping fails reposition the stack or fallback to normal way of processing
1276 //fSkip is not set to true
1297 //when the elements are being added , we need to check if we are set for skipping the elements
1462 //REVISIT: one more case needs to be included: external PE and standalone is no
1535 //REVISIT: one more case needs to be included: external PE and standalone is no
1585 //this function appends the data to the buffer.
1587 //set the fTempString length to 0 before passing it on to scanContent
1608 // We work on a single character basis to handle cases such as:
1637 * @param complete True if the CDATA section is to be scanned
1663 * //we dont need to clear the buffer..
1675 * //we dont need to clear the buffer now..
1744 //REVISIT: if the string is not the same as expected.. we need to do better error handling..
1821 //xxx: How do we deal with this - how to return charReferenceValues
1880 //1. if the entity is external and support to external entities is not required
1895 //REVISIT: one more case needs to be included: external PE and standalone is no
1905 //we immediately call the endEntity. Application gets to know if there was
1908 //set the scaner state to content.. parser will automatically revive itself at any point of time.
1921 * @param XMLStringBuffer append the character to buffer
1923 * we really dont need to call this function -- this function is only required when
1925 * calling this function to hanlde built-in entity reference.
2098 //Mark refers to the position
2186 * This function just returns the pointer to the object and its values are set.
2188 *@return QName reference to the next element in the list
2192 //if number of elements becomes equal to the length of array -- stop the skipping
2198 //this wont make any difference since flag has been set to 'false'
2213 //set the position back to mark, making it a circular linked list.
2261 //Mark refers to the position
2287 * the element to the stack. Also, the QName object returned
2288 * is <em>not</em> orphaned to the caller. It should be
2291 * @param element The element to push onto the stack.
2315 //set the position back to mark, making it a circular linked list.
2331 *3. increase the position counter so as to point to the next element in the array
2368 System.out.println("NOW ELEMENT SHOULD NOT BE ADDED, fAdd is set to false");
2392 //sicne fInt[fDepth] contains pointer to the element array which are 0 based.
2396 //if number of elements becomes equal to the length of array -- stop the skipping
2401 //reposition the stack -- it seems to be too complex document and there is no symmerty in structure
2428 * use this object to store the details of next element encountered.
2454 * orphaned to the caller. Therefore, the caller should consider
2455 * the object to be read-only.
2477 * Transfer all the opened tags starting from depth '2' to the current depth and reposition them
2502 * we dont need to set the value for every end element encouterd.
2504 * the values will be set only if application need to know about the endElement
2514 * Drives the parser to the next state/event on the input. Parser is guaranteed
2515 * to stop at the next state/event.
2519 * the section of XML document and returns the state corresponding to section of
2531 * Drives the parser to the next state/event on the input. Parser is guaranteed
2532 * to stop at the next state/event.
2536 * the section of XML document and returns the state corresponding to section of
2552 * Driver to handle content scanning. This driver is capable of reading
2554 * of XML documents, it can pass the job of reading to another driver.
2556 * This class has been modified as per the new design which is more suited to
2558 * the code has been added to support stax functionality/features.
2637 * set to SCANNER_STATE_CONTENT. Parser will automatically revive itself and will set state of
2638 * the parser to one of its sub state.
2641 * These sub states help the parser to have fine control over the parsing. These are the
2643 * decided if paresr needs to stop at next milepost ??
2665 * Drives the parser to the next state/event on the input. Parser is guaranteed
2666 * to stop at the next state/event. Internally XML document
2669 * of XML document and returns the state corresponding to section of
2674 * State returned corresponds to Stax states.
2690 //decide the actual sub state of the scanner.For more information refer to the javadoc of
2718 //do some special handling if isCoalesce is set to true.
2737 //this means there is nothing more to be coalesced.
2761 //xxx this function returns true when element is empty.. can be linked to end element event.
2782 //When coalesce is set to true and last state was REFERENCE or CDATA or CHARACTER_DATA, buffer should not be cleared.
2793 //set the fTempString length to 0 before passing it on to scanContent
2866 // We work on a single character basis to handle cases such as:
2884 // we need not to grow the buffer only when isCoalesce() is not true;
2911 //we should not be iterating again if fIsCoalesce is not set to true
2939 //set it back to false.
2987 }//if we dont need to coalesce clear the buffer
2995 //1. if fIsCoalesce is set to true we set the variable fLastSectionWasCData to true
2996 //and just call fDispatche.next(). Since we have set the scanner state to
2998 //behave appropriately. When isCoalesce is set to true we dont need to reportCDATA event
3000 //3. if the application has neither set the fIsCoalesce to true nor fReportCdataEvent
3004 //there might be more data to coalesce.
3021 //used when fIsCoalesce is set to true.
3025 }//if we dont need to coalesce clear the buffer
3064 //set the next possible state to SCANNER_STATE_CONTENT
3103 //xxx: we don't return any state, so how do we get to know about TEXT declarations.
3104 //it seems we have to careful when to allow function issue a callback
3105 //and when to allow adapter issue a callback.
3151 * to add code to handle scanning for a the "DOCTYPE" string
3164 * to add code to handle when the element depth hits zero. When
3171 * allows the scanner to switch to a new scanning
3182 * subclasses to add code that handles scanning for the root
3188 * allows the scanner to switch to a new scanning
3198 * End of file hook. This method is a hook for subclasses to
3223 /** this function gets an XMLString (which is used to store the attribute value) from the special pool
3229 * @return XMLString XMLString used to store an attribute value.
3263 //since fTempString directly matches to the underlying main buffer