Lines Matching refs:state

201         ElementState state;
214 state = getElementState();
227 if ( state.empty )
232 if ( _indenting && ! state.preserveSpace &&
233 ( state.empty || state.afterElement ) )
236 preserveSpace = state.preserveSpace;
238 // Do not change the current element state yet.
344 // Now it's time to enter a new element state
346 // We still do not change the curent element state.
347 state = enterElementState( namespaceURI, localName, rawName, preserveSpace );
353 state.empty = false;
358 // state of the current element to CDATA (XHTML) or
364 state.doCData = true;
367 state.unescaped = true;
392 ElementState state;
397 // element's state and the parent element's state.
399 state = getElementState();
401 if ( state.namespaceURI == null || state.namespaceURI.length() == 0 )
402 htmlName = state.rawName;
404 if ( state.namespaceURI.equals( XHTMLNamespace ) ||
405 (fUserXHTMLNamespace != null && fUserXHTMLNamespace.equals(state.namespaceURI)) )
406 htmlName = state.localName;
412 if ( state.empty ) {
416 if ( state.inCData )
420 _printer.printText( state.rawName.toLowerCase(Locale.ENGLISH) );
424 if ( state.empty )
432 if ( _indenting && ! state.preserveSpace && state.afterElement )
435 if ( state.inCData )
438 _printer.printText( state.rawName );
442 // Leave the element state and update that of the parent
444 state = leaveElementState();
449 state.afterElement = true;
450 state.empty = false;
464 ElementState state;
468 state = content();
469 state.doCData = false;
482 ElementState state;
494 state = getElementState();
506 if ( state.empty )
511 if ( _indenting && ! state.preserveSpace &&
512 ( state.empty || state.afterElement ) )
515 preserveSpace = state.preserveSpace;
517 // Do not change the current element state yet.
574 // Now it's time to enter a new element state
576 // We still do not change the curent element state.
577 state = enterElementState( null, null, tagName, preserveSpace );
581 state.empty = false;
586 // state of the current element to CDATA (XHTML) or
592 state.doCData = true;
595 state.unescaped = true;
707 ElementState state;
714 state = getElementState();
726 if ( state.empty )
731 if ( _indenting && ! state.preserveSpace &&
732 ( state.empty || state.afterElement ) )
735 preserveSpace = state.preserveSpace;
737 // Do not change the current element state yet.
803 // Enter an element state, and serialize the children
805 state = enterElementState( null, null, tagName, preserveSpace );
809 state.empty = false;
814 // state of the current element to CDATA (XHTML) or
820 state.doCData = true;
823 state.unescaped = true;
841 state.afterElement = true;
842 state.empty = false;
853 ElementState state;
856 state = content();