protected void serializeEntityReference(EntityReference node,boolean bStart) throws SAXException {
  if (bStart) {
    EntityReference eref=node;
    if ((fFeatures & ENTITIES) != 0) {
      if ((fFeatures & WELLFORMED) != 0) {
        isEntityReferneceWellFormed(node);
      }
      if ((fFeatures & NAMESPACES) != 0) {
        checkUnboundPrefixInEntRef(node);
      }
    }
    if (fLexicalHandler != null) {
      fLexicalHandler.startEntity(eref.getNodeName());
    }
  }
 else {
    EntityReference eref=node;
    if (fLexicalHandler != null) {
      fLexicalHandler.endEntity(eref.getNodeName());
    }
  }
}

protected void serializeEntityReference ( EntityReference node , boolean bStart ) throws SAXException { if ( bStart ) { EntityReference eref = node ; if ( ( fFeatures & ENTITIES ) != 0 ) { if ( ( fFeatures & WELLFORMED ) != 0 ) { isEntityReferneceWellFormed ( node ) ; } if ( ( fFeatures & NAMESPACES ) != 0 ) { checkUnboundPrefixInEntRef ( node ) ; } } if ( fLexicalHandler != null ) { fLexicalHandler . startEntity ( eref . getNodeName ( ) ) ; } } else { EntityReference eref = node ; if ( fLexicalHandler != null ) { fLexicalHandler . endEntity ( eref . getNodeName ( ) ) ; } } }
serializes an entityreference node .
